]> git.sur5r.net Git - u-boot/commitdiff
ppc4xx: Fix PMC405DE support
authorMatthias Fuchs <matthias.fuchs@esd.eu>
Fri, 4 Sep 2009 08:37:04 +0000 (10:37 +0200)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:18 +0000 (09:04 -0500)
This patch fixes PMC405DE support. Patch 85d6bf0b fixed out-of-tree
building for this board but the loadpci object did not get linked
after that.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
board/esd/pmc405de/Makefile

index 327e51e60714c58933b650aa745187528676c1f2..f435495767afbd4c3cf1a17a697c566e0dae56c6 100644 (file)
 #
 
 include $(TOPDIR)/config.mk
+ifneq ($(OBJTREE),$(SRCTREE))
+$(shell mkdir -p $(obj)../common)
+endif
 
 LIB    = $(obj)lib$(BOARD).a
 
 COBJS-y        = $(BOARD).o
 COBJS-$(CONFIG_CMD_CHIP_CONFIG) += chip_config.o
-COBJS  += ../common/cmd_loadpci.o
+COBJS-y += ../common/cmd_loadpci.o
 
 COBJS  := $(COBJS-y)
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)