]> git.sur5r.net Git - u-boot/commitdiff
tegra20: make board mkdir commands unconditional
authorAllen Martin <amartin@nvidia.com>
Fri, 31 Aug 2012 08:30:04 +0000 (08:30 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:21 +0000 (14:58 +0200)
Change the mkdir commands for the object directories to be
unconditional.  This fixes an issue when building for SPL where
SRCTREE and OBJTREE are the same, but $(obj) is under SPLTREE.

Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Tested-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/avionic-design/medcom/Makefile
board/avionic-design/plutux/Makefile
board/avionic-design/tec/Makefile
board/compal/paz00/Makefile
board/compulab/trimslice/Makefile

index d96d04306c2d00d75a1aad3a0cd80d54ef97c006..864bc0ec01c614571a76d9ad4c4707258d7bab1c 100644 (file)
@@ -25,9 +25,7 @@
 
 include $(TOPDIR)/config.mk
 
-ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common $(obj)../../nvidia/common)
-endif
 
 LIB    = $(obj)lib$(BOARD).o
 
index d96d04306c2d00d75a1aad3a0cd80d54ef97c006..864bc0ec01c614571a76d9ad4c4707258d7bab1c 100644 (file)
@@ -25,9 +25,7 @@
 
 include $(TOPDIR)/config.mk
 
-ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common $(obj)../../nvidia/common)
-endif
 
 LIB    = $(obj)lib$(BOARD).o
 
index d96d04306c2d00d75a1aad3a0cd80d54ef97c006..864bc0ec01c614571a76d9ad4c4707258d7bab1c 100644 (file)
@@ -25,9 +25,7 @@
 
 include $(TOPDIR)/config.mk
 
-ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common $(obj)../../nvidia/common)
-endif
 
 LIB    = $(obj)lib$(BOARD).o
 
index 488e38101669ac8e85b23e0fa75944744749bff4..7f7287ee9a039f291da3ca22961e88217cb0ebe5 100644 (file)
@@ -16,9 +16,7 @@
 
 include $(TOPDIR)/config.mk
 
-ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../../nvidia/common)
-endif
 
 LIB    = $(obj)lib$(BOARD).o
 
index bf624f41a254dbc3ca6639514021da84810b89a2..ff0787967de805db3558375ae8dddeae8317aa07 100644 (file)
@@ -24,9 +24,7 @@
 
 include $(TOPDIR)/config.mk
 
-ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../../nvidia/common)
-endif
 
 LIB    = $(obj)lib$(BOARD).o