PMC405DE: fix out of tree building
authorWolfgang Denk <wd@denx.de>
Mon, 27 Jul 2009 06:50:59 +0000 (08:50 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 27 Jul 2009 06:50:59 +0000 (08:50 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
board/esd/pmc405de/Makefile

index a080649539c26a33ce223db850aa411342f0f3ae..327e51e60714c58933b650aa745187528676c1f2 100644 (file)
@@ -26,8 +26,8 @@ include $(TOPDIR)/config.mk
 LIB    = $(obj)lib$(BOARD).a
 
 COBJS-y        = $(BOARD).o
-COBJS-y        += ../common/cmd_loadpci.o
 COBJS-$(CONFIG_CMD_CHIP_CONFIG) += chip_config.o
+COBJS  += ../common/cmd_loadpci.o
 
 COBJS  := $(COBJS-y)
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)