[U-Boot-Users] [PATCH] 8641hpcn: Fix Makefile after moving pixis to board/freescale.

Jon Loeliger jdl at freescale.com
Wed May 9 18:05:06 CEST 2007


From: Ed Swarthout <Ed.Swarthout at freescale.com>
 
The OBJTREE != SRCTREE build scenario was broken.
This fixes it.

Signed-off-by: Ed Swarthout <Ed.Swarthout at freescale.com>
Signed-off-by: Jon Loeliger <jdl at freescale.com>
---

Hey jdl,

Please pick this up for the 86xx custodian tree.

jdl


 board/mpc8641hpcn/Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/board/mpc8641hpcn/Makefile b/board/mpc8641hpcn/Makefile
index 9625211..df56b31 100644
--- a/board/mpc8641hpcn/Makefile
+++ b/board/mpc8641hpcn/Makefile
@@ -23,6 +23,10 @@
 
 include $(TOPDIR)/config.mk
 
+ifneq ($(OBJTREE),$(SRCTREE))
+$(shell mkdir -p $(obj)../freescale/common)
+endif
+
 LIB	= $(obj)lib$(BOARD).a
 
 COBJS	:= $(BOARD).o sys_eeprom.o \
-- 
1.5.0.3







More information about the U-Boot mailing list