Skip to contentSkip to conversation

ppc4xx: Fix PMC405DE support

PATCH New Matthias Fuchs 2 participants 2 messages Sep 4, 2009 – Sep 8, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 board/esd/pmc405de/Makefile |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
board/esd/pmc405de/Makefile +4 -1
index 327e51e..f435495 100644
@@ -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)
Signature · 1 line
1.6.1
Applied
#1 lore raw

PATCH 1/1 ppc4xx: Fix PMC405DE support

Quoted 3 lines · On Friday 04 September 2009 10:37:04 Matthias Fuchs wrote:

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.

Applied to ppc4xx. Thanks.

Cheers,
Stefan

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de