summaryrefslogtreecommitdiff
path: root/drivers/qe/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:41 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:41 +0200
commit7ba44a5521cdb7fa1c72864025cde1e21a6f6921 (patch)
treea10d35f6c52b8d1c07f953dc49ec9f3100215f26 /drivers/qe/Makefile
parentab6878c7bc68a7b5e5b731655bdc13221bbfc493 (diff)
downloadu-boot-imx-7ba44a5521cdb7fa1c72864025cde1e21a6f6921.zip
u-boot-imx-7ba44a5521cdb7fa1c72864025cde1e21a6f6921.tar.gz
u-boot-imx-7ba44a5521cdb7fa1c72864025cde1e21a6f6921.tar.bz2
drivers/qe: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/qe/Makefile')
-rw-r--r--drivers/qe/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/qe/Makefile b/drivers/qe/Makefile
index 45a2fff..18fe9ce 100644
--- a/drivers/qe/Makefile
+++ b/drivers/qe/Makefile
@@ -25,8 +25,9 @@ include $(TOPDIR)/config.mk
LIB := $(obj)qe.a
COBJS-$(CONFIG_OF_LIBFDT) += fdt.o
-COBJS := qe.o uccf.o uec.o uec_phy.o $(COBJS-y)
+COBJS-$(CONFIG_QE) += qe.o uccf.o uec.o uec_phy.o
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))