From: Jon Loeliger Date: Wed, 09 May 2007 11:05:06 -0500 Subject: [U-Boot-Users] [PATCH] 8641hpcn: Fix Makefile after moving pixis to board/freescale. Message-ID: <1178726706.6734.13.camel@ld0161-tx32> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Ed Swarthout The OBJTREE != SRCTREE build scenario was broken. This fixes it. Signed-off-by: Ed Swarthout Signed-off-by: Jon Loeliger --- 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