]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/freescale/mpc8349itx/Makefile
mpc83xx: convert all remaining boards over to 83XX_GENERIC_PCI
[karo-tx-uboot.git] / board / freescale / mpc8349itx / Makefile
index c81ba662fa114b75261e517ab6139d4f85c8665a..2fed9f0c2a549a28acb50ab67d6ac7d0e40f547b 100644 (file)
@@ -24,8 +24,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))