summaryrefslogtreecommitdiff
path: root/board/esd/pmc405de/Makefile
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd.eu>2009-09-04 10:37:04 +0200
committerStefan Roese <sr@denx.de>2009-09-10 14:38:17 +0200
commitcfab2ae322a99ad55364d054054f138f51130c2a (patch)
tree6f4cc68d16143b3fe15be49a81800505a68a9a90 /board/esd/pmc405de/Makefile
parentc8355b9d9f778bd12ee19c8f34d88e13758a4efd (diff)
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>
Diffstat (limited to 'board/esd/pmc405de/Makefile')
-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 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)