Patchwork [U-Boot,v6,05/15] tegra20: make board mkdir commands unconditional

login
register
mail settings
Submitter Allen Martin
Date July 3, 2012, 5:52 a.m.
Message ID <1341294733-17013-6-git-send-email-amartin@nvidia.com>
Download mbox | patch
Permalink /patch/168701/
State Superseded
Headers show

Comments

Allen Martin - July 3, 2012, 5:52 a.m.
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>
---
 board/avionic-design/medcom/Makefile |    2 --
 board/avionic-design/plutux/Makefile |    2 --
 board/avionic-design/tec/Makefile    |    2 --
 board/compal/paz00/Makefile          |    2 --
 board/compulab/trimslice/Makefile    |    2 --
 5 files changed, 10 deletions(-)
Stephen Warren - July 3, 2012, 3:51 p.m.
On 07/02/2012 11:52 PM, Allen Martin wrote:
> 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>

All the patches which weren't already acked by me, now:
Acked-by: Stephen Warren <swarren@wwwdotorg.org>

Well, the ones which were already acked by me still are too:-)

Patch

diff --git a/board/avionic-design/medcom/Makefile b/board/avionic-design/medcom/Makefile
index d96d043..864bc0e 100644
--- a/board/avionic-design/medcom/Makefile
+++ b/board/avionic-design/medcom/Makefile
@@ -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
 
diff --git a/board/avionic-design/plutux/Makefile b/board/avionic-design/plutux/Makefile
index d96d043..864bc0e 100644
--- a/board/avionic-design/plutux/Makefile
+++ b/board/avionic-design/plutux/Makefile
@@ -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
 
diff --git a/board/avionic-design/tec/Makefile b/board/avionic-design/tec/Makefile
index d96d043..864bc0e 100644
--- a/board/avionic-design/tec/Makefile
+++ b/board/avionic-design/tec/Makefile
@@ -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
 
diff --git a/board/compal/paz00/Makefile b/board/compal/paz00/Makefile
index 488e381..7f7287e 100644
--- a/board/compal/paz00/Makefile
+++ b/board/compal/paz00/Makefile
@@ -16,9 +16,7 @@ 
 
 include $(TOPDIR)/config.mk
 
-ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../../nvidia/common)
-endif
 
 LIB	= $(obj)lib$(BOARD).o
 
diff --git a/board/compulab/trimslice/Makefile b/board/compulab/trimslice/Makefile
index bf624f4..ff07879 100644
--- a/board/compulab/trimslice/Makefile
+++ b/board/compulab/trimslice/Makefile
@@ -24,9 +24,7 @@ 
 
 include $(TOPDIR)/config.mk
 
-ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../../nvidia/common)
-endif
 
 LIB	= $(obj)lib$(BOARD).o