summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8610hpcd/Makefile
diff options
context:
space:
mode:
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 76087c1..12a92ae 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))