From: Wolfgang Denk <wd@denx.de>
Date: Sun, 13 Jan 2008 15:44:08 +0000 (+0100)
Subject: PMC440 board: fix board Makefile for out-of-tree building
X-Git-Tag: v2025.01-rc5-pxa1908~22622
X-Git-Url: http://git.dujemihanovic.xyz/img/login.html?a=commitdiff_plain;h=6d714f82fb4b8bb7e267e9c71b8009bc670bfe88;p=u-boot.git

PMC440 board: fix board Makefile for out-of-tree building

Signed-off-by: Wolfgang Denk <wd@denx.de>
---

diff --git a/board/esd/pmc440/Makefile b/board/esd/pmc440/Makefile
index 4dd9c386cd..68b566c4a6 100644
--- a/board/esd/pmc440/Makefile
+++ b/board/esd/pmc440/Makefile
@@ -22,6 +22,9 @@
 #
 
 include $(TOPDIR)/config.mk
+ifneq ($(OBJTREE),$(SRCTREE))
+$(shell mkdir -p $(obj)../common)
+endif
 
 LIB	= $(obj)lib$(BOARD).a