From: Matthias Fuchs Date: Fri, 4 Sep 2009 08:37:04 +0000 (+0200) Subject: ppc4xx: Fix PMC405DE support X-Git-Tag: v2010.09-rc1~28^2~7^2~42^2~140 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1fda4e9df14bf7d939da20c26e04bd0ab877b1e7;p=u-boot ppc4xx: Fix PMC405DE support 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 Signed-off-by: Stefan Roese --- diff --git a/board/esd/pmc405de/Makefile b/board/esd/pmc405de/Makefile index 327e51e607..f435495767 100644 --- a/board/esd/pmc405de/Makefile +++ b/board/esd/pmc405de/Makefile @@ -22,12 +22,15 @@ # 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)