summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd.eu>2009-09-04 10:37:04 +0200
committerTom Rix <Tom.Rix@windriver.com>2009-10-03 09:04:18 -0500
commit1fda4e9df14bf7d939da20c26e04bd0ab877b1e7 (patch)
treea3cb51aac6c6a469d9f047896296cc2ba99dc3c6
parent6d0363b23a2ee467c0f498cf52f4089e5e3427ad (diff)
downloadu-boot-imx-1fda4e9df14bf7d939da20c26e04bd0ab877b1e7.zip
u-boot-imx-1fda4e9df14bf7d939da20c26e04bd0ab877b1e7.tar.gz
u-boot-imx-1fda4e9df14bf7d939da20c26e04bd0ab877b1e7.tar.bz2
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 <matthias.fuchs@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--board/esd/pmc405de/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/esd/pmc405de/Makefile b/board/esd/pmc405de/Makefile
index 327e51e..f435495 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)