summaryrefslogtreecommitdiff
path: root/board/freescale/common/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-16 22:06:51 +0100
committerWolfgang Denk <wd@denx.de>2008-01-16 22:06:51 +0100
commit4c9e98ace78e7de972adf7da7135a46ec0a4ee7e (patch)
tree286b22158fa780deb3fcad84f126e40315af6902 /board/freescale/common/Makefile
parent5e918a98c26e8ab9b5d2d48d998a2ced2b5b85b3 (diff)
parent16c3cde050e2d243e62b37486f1558570787beb8 (diff)
downloadu-boot-imx-4c9e98ace78e7de972adf7da7135a46ec0a4ee7e.zip
u-boot-imx-4c9e98ace78e7de972adf7da7135a46ec0a4ee7e.tar.gz
u-boot-imx-4c9e98ace78e7de972adf7da7135a46ec0a4ee7e.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-mpc86xx
Diffstat (limited to 'board/freescale/common/Makefile')
-rw-r--r--board/freescale/common/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile
index 9cee9f1..6665e7f 100644
--- a/board/freescale/common/Makefile
+++ b/board/freescale/common/Makefile
@@ -29,14 +29,13 @@ endif
LIB = $(obj)lib$(VENDOR).a
-COBJS := sys_eeprom.o \
- pixis.o \
- pq-mds-pib.o \
- fsl_logo_bmp.o \
- fsl_diu_fb.o
-
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
+COBJS-${CONFIG_PQ_MDS_PIB} += pq-mds-pib.o
+COBJS-${CONFIG_ID_EEPROM} += sys_eeprom.o
+COBJS-${CONFIG_FSL_DIU_FB} += fsl_diu_fb.o fsl_logo_bmp.o
+COBJS-${CONFIG_FSL_PIXIS} += pixis.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS-y))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS)