PMC440 board: fix board Makefile for out-of-tree building
authorWolfgang Denk <wd@denx.de>
Sun, 13 Jan 2008 15:44:08 +0000 (16:44 +0100)
committerWolfgang Denk <wd@denx.de>
Sun, 13 Jan 2008 15:44:08 +0000 (16:44 +0100)
Signed-off-by: Wolfgang Denk <wd@denx.de>
board/esd/pmc440/Makefile

index 4dd9c38..68b566c 100644 (file)
@@ -22,6 +22,9 @@
 #
 
 include $(TOPDIR)/config.mk
+ifneq ($(OBJTREE),$(SRCTREE))
+$(shell mkdir -p $(obj)../common)
+endif
 
 LIB    = $(obj)lib$(BOARD).a