summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8360emds/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mpc8360emds/Makefile')
-rw-r--r--board/freescale/mpc8360emds/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/mpc8360emds/Makefile b/board/freescale/mpc8360emds/Makefile
index a97116c391..c34905c74a 100644
--- a/board/freescale/mpc8360emds/Makefile
+++ b/board/freescale/mpc8360emds/Makefile
@@ -25,8 +25,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := $(BOARD).o pci.o
+COBJS-y += $(BOARD).o
+COBJS-$(CONFIG_PCI) += pci.o
+COBJS := $(COBJS-y)
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))