]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ppc4xx: Fix PMC405DE support
authorMatthias Fuchs <matthias.fuchs@esd.eu>
Fri, 4 Sep 2009 08:37:04 +0000 (10:37 +0200)
committerStefan Roese <sr@denx.de>
Thu, 10 Sep 2009 12:38:17 +0000 (14:38 +0200)
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)