]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/freescale/mpc832xemds/Makefile
mpc83xx: convert all remaining boards over to 83XX_GENERIC_PCI
[karo-tx-uboot.git] / board / freescale / mpc832xemds / Makefile
index a97116c39170246dd2327718637dd1234791c672..c34905c74a8d8a3766c5eda1a5280b05d44934ee 100644 (file)
@@ -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))