]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: tegra: fix Ventana standalone build
authorStephen Warren <swarren@nvidia.com>
Fri, 3 Aug 2012 06:55:04 +0000 (06:55 +0000)
committerTom Warren <twarren@nvidia.com>
Fri, 7 Sep 2012 20:54:32 +0000 (13:54 -0700)
Ventana always pulls in files from the Seaboard directory, so needs to
mkdir $(obj)../seaboard unconditionally. This fixes:

git clean -f -d -x
./MAKEALL ventana

"MAKEALL -s tegra20" passes without this change, because Seaboard
happens to be built before Ventana, and hence the directory has already
been created.

I believe the mkdir is only needed for out-of-tree builds, since the
seaboard directory is part of the source tree. However, since we always
build an SPL for Tegra now, which I believe is effectively an out-of-tree
build, we will always need this at some time. The overhead of just
uncondtionally executing the mkdir is minimal, and simplifies the
Makefile, since we don't need to code up the exact minimal condition to
execute the mkdir.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/nvidia/ventana/Makefile

index 611520c8ebf0052094387f88b129822ea2f4ea23..147d0bcf95036715c5ac4c8e47c13a2872ff5ec1 100644 (file)
@@ -24,9 +24,7 @@
 
 include $(TOPDIR)/config.mk
 
-ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../seaboard)
-endif
 
 LIB    = $(obj)lib$(BOARD).o