Re: [U-Boot] [PATCH] ppc4xx: Fix PMC405DE support

2009-09-08 Thread Stefan Roese
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: off...@denx.de
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] ppc4xx: Fix PMC405DE support

2009-09-04 Thread Matthias Fuchs
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 
---
 board/esd/pmc405de/Makefile |5 -
 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)
-- 
1.6.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot