summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-13 16:44:08 +0100
committerWolfgang Denk <wd@denx.de>2008-01-13 16:44:08 +0100
commit6d714f82fb4b8bb7e267e9c71b8009bc670bfe88 (patch)
tree663b8ebe9e3c84d9e56e79f57ee5406c20266233
parent6eb3fb15588d319bd3099d5f9b910051dfeab6b2 (diff)
PMC440 board: fix board Makefile for out-of-tree building
Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--board/esd/pmc440/Makefile3
1 files changed, 3 insertions, 0 deletions
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