arm, suen3: fix compile error, if doing not a local build
authorHeiko Schocher <hs@denx.de>
Mon, 1 Mar 2010 14:58:18 +0000 (15:58 +0100)
committerTom Rix <Tom.Rix@windriver.com>
Sun, 7 Mar 2010 18:36:36 +0000 (12:36 -0600)
Signed-off-by: Heiko Schocher <hs@denx.de>
board/keymile/km_arm/Makefile

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