summaryrefslogtreecommitdiff
path: root/board/freescale/common/Makefile
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-01-17 16:04:12 +0100
committerStefan Roese <sr@denx.de>2008-01-17 16:04:12 +0100
commit9cfff9e9d4d9dbb9bb428cea3fa2cda3b3e593ad (patch)
tree7e3e5036eef33672f6c40c5f6aca68f34f5b3a31 /board/freescale/common/Makefile
parent3259eeaa4148125a81417477f62c05bd67f60587 (diff)
parent4c9e98ace78e7de972adf7da7135a46ec0a4ee7e (diff)
downloadu-boot-imx-9cfff9e9d4d9dbb9bb428cea3fa2cda3b3e593ad.zip
u-boot-imx-9cfff9e9d4d9dbb9bb428cea3fa2cda3b3e593ad.tar.gz
u-boot-imx-9cfff9e9d4d9dbb9bb428cea3fa2cda3b3e593ad.tar.bz2
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
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)