summaryrefslogtreecommitdiffstats
path: root/board/freescale/mpc8610hpcd/Makefile
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2008-01-15 13:42:41 -0600
committerJon Loeliger <jdl@freescale.com>2008-01-16 12:05:05 -0600
commitad8f8687b78c3e917b173f038926695383c55555 (patch)
tree06444e1c48b7b404a23fb337b75584e0274c5c47 /board/freescale/mpc8610hpcd/Makefile
parent7c2221eb230372a9e537c4f6636b147b0909325f (diff)
downloadblackbird-obmc-uboot-ad8f8687b78c3e917b173f038926695383c55555.tar.gz
blackbird-obmc-uboot-ad8f8687b78c3e917b173f038926695383c55555.zip
FSL: Convert board/freescale/common/Makefile to use CONFIG_
Convert the board/freescale/common/Makefile to use CONFIG_* options to select which files to conditionally compile into the board/freescale/common library rather than conditionally compiling entire files. Now handles:: CONFIG_FSL_PIXIS CONFIG_FSL_DIU_FB CONFIG_PQ_MDS_PIB CONFIG_ID_EEPROM is introduced until CFG_ID_EEPROM is gone. Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/freescale/mpc8610hpcd/Makefile')
-rw-r--r--board/freescale/mpc8610hpcd/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/board/freescale/mpc8610hpcd/Makefile b/board/freescale/mpc8610hpcd/Makefile
index 76087c12a6..12a92ae7dc 100644
--- a/board/freescale/mpc8610hpcd/Makefile
+++ b/board/freescale/mpc8610hpcd/Makefile
@@ -27,14 +27,14 @@ endif
LIB = $(obj)lib$(BOARD).a
-COBJS := $(BOARD).o \
- ../common/sys_eeprom.o \
- ../common/pixis.o \
- mpc8610hpcd_diu.o \
- ../common/fsl_diu_fb.o
-
SOBJS := init.o
+COBJS := $(BOARD).o
+
+COBJS-${CONFIG_FSL_DIU_FB} += mpc8610hpcd_diu.o
+
+COBJS += ${COBJS-y}
+
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
OpenPOWER on IntegriCloud