summaryrefslogtreecommitdiff
path: root/board/nvidia/seaboard/Makefile
diff options
context:
space:
mode:
authorChe-liang Chiou <clchiou@chromium.org>2011-08-23 00:03:12 +0000
committerWolfgang Denk <wd@denx.de>2011-09-07 22:03:53 +0200
commit10980d4a54271c0bb98ae209bb1840c5259ba566 (patch)
tree4244722a226e5816c158cc98ab1424355ff5ae4c /board/nvidia/seaboard/Makefile
parent6636eb97e4930bf753fd1461bedd11807c37fc85 (diff)
downloadu-boot-imx-10980d4a54271c0bb98ae209bb1840c5259ba566.zip
u-boot-imx-10980d4a54271c0bb98ae209bb1840c5259ba566.tar.gz
u-boot-imx-10980d4a54271c0bb98ae209bb1840c5259ba566.tar.bz2
arm: tegra2: fix out-of-tree build
The out-of-tree build fails because the Makefiles in question depend on source files of another directory but do not explicitly mkdir that directory. As a matter of fact, other Makefiles under board/*/ directory that refer to source files under another directory explicitly call mkdir. This patch adds explicit mkdir's to the Makefiles in question, and verifies that out-of-tree build is working. Signed-off-by: Che-Liang Chiou <clchiou@chromium.org> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Diffstat (limited to 'board/nvidia/seaboard/Makefile')
-rw-r--r--board/nvidia/seaboard/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/nvidia/seaboard/Makefile b/board/nvidia/seaboard/Makefile
index 9fb6b57..ebd8e02 100644
--- a/board/nvidia/seaboard/Makefile
+++ b/board/nvidia/seaboard/Makefile
@@ -24,6 +24,10 @@
include $(TOPDIR)/config.mk
+ifneq ($(OBJTREE),$(SRCTREE))
+$(shell mkdir -p $(obj)../common)
+endif
+
LIB = $(obj)lib$(BOARD).o
COBJS := $(BOARD).o