[U-Boot] [POWERPC] mgcoge, mgsuvd: fix out-of-tree build error.

Heiko Schocher hs at denx.de
Thu Oct 16 18:27:35 CEST 2008


Signed-off-by: Heiko Schocher <hs at denx.de>
---
 board/keymile/mgcoge/Makefile |    3 +++
 board/keymile/mgsuvd/Makefile |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/board/keymile/mgcoge/Makefile b/board/keymile/mgcoge/Makefile
index cbf7129..0cad821 100644
--- a/board/keymile/mgcoge/Makefile
+++ b/board/keymile/mgcoge/Makefile
@@ -22,6 +22,9 @@
 #

 include $(TOPDIR)/config.mk
+ifneq ($(OBJTREE),$(SRCTREE))
+$(shell mkdir -p $(obj)../common)
+endif

 LIB	= $(obj)lib$(BOARD).a

diff --git a/board/keymile/mgsuvd/Makefile b/board/keymile/mgsuvd/Makefile
index 0326608..b2145f9 100644
--- a/board/keymile/mgsuvd/Makefile
+++ b/board/keymile/mgsuvd/Makefile
@@ -22,6 +22,9 @@
 #

 include $(TOPDIR)/config.mk
+ifneq ($(OBJTREE),$(SRCTREE))
+$(shell mkdir -p $(obj)../common)
+endif

 LIB	= $(obj)lib$(BOARD).a

-- 
1.5.6.1

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list