From: Ed Swarthout Date: Tue, 8 May 2007 19:17:07 +0000 (-0500) Subject: 8641hpcn: Fix Makefile after moving pixis to board/freescale. X-Git-Tag: v1.3.0-rc1~68^2~1^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b84289b595731e8851df46e893845cc1322c9b9b;p=u-boot 8641hpcn: Fix Makefile after moving pixis to board/freescale. The OBJTREE != SRCTREE build scenario was broken. This fixes it. Signed-off-by: Ed Swarthout Signed-off-by: Jon Loeliger --- diff --git a/board/mpc8641hpcn/Makefile b/board/mpc8641hpcn/Makefile index 9625211669..df56b31e58 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 \