summaryrefslogtreecommitdiff
path: root/drivers/qe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/qe/Makefile')
-rw-r--r--drivers/qe/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/qe/Makefile b/drivers/qe/Makefile
index 8e9a035..ef4bdf8 100644
--- a/drivers/qe/Makefile
+++ b/drivers/qe/Makefile
@@ -24,7 +24,7 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libqe.o
-COBJS-$(CONFIG_OF_LIBFDT) += fdt.o
+COBJS-$(and $(CONFIG_QE),$(CONFIG_OF_LIBFDT)) += fdt.o
COBJS-$(CONFIG_QE) += qe.o uccf.o uec.o uec_phy.o
COBJS := $(COBJS-y)