]> git.sur5r.net Git - u-boot/commitdiff
8641hpcn: Fix Makefile after moving pixis to board/freescale.
authorEd Swarthout <Ed.Swarthout@freescale.com>
Tue, 8 May 2007 19:17:07 +0000 (14:17 -0500)
committerJon Loeliger <jdl@freescale.com>
Tue, 8 May 2007 19:17:07 +0000 (14:17 -0500)
The OBJTREE != SRCTREE build scenario was broken.
This fixes it.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Jon Loeliger <jdl@freescale.com>
board/mpc8641hpcn/Makefile

index 96252116690e2de20fdf899602decbe02ad399aa..df56b31e581bcfa2983d26dd89a4ace330a6cc6e 100644 (file)
 
 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 \