Patchwork [U-Boot] tegra2: Optimize out-of-tree build for Ventana.

mail settings
Submitter Thierry Reding
Date Dec. 22, 2011, 9:22 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/132794/
State Accepted
Commit a747cc0a8c55d69a56a6db80a35cdb48c853447d
Headers show


Thierry Reding - Dec. 22, 2011, 9:22 a.m.
As proposed by Mike Frysinger, mkdir can take more than one argument.
Instead of spawning two processes, create both the common and seaboard
directories in one go.

Signed-off-by: Thierry Reding <>
I realize how trivial this is, and I feel a little embarrassed.

 board/nvidia/ventana/Makefile |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


diff --git a/board/nvidia/ventana/Makefile b/board/nvidia/ventana/Makefile
index d5140c8..c7e9bba 100644
--- a/board/nvidia/ventana/Makefile
+++ b/board/nvidia/ventana/Makefile
@@ -25,8 +25,7 @@ 
 include $(TOPDIR)/
 ifneq ($(OBJTREE),$(SRCTREE))
-$(shell mkdir -p $(obj)../seaboard)
-$(shell mkdir -p $(obj)../common)
+$(shell mkdir -p $(obj)../common $(obj)../seaboard)
 LIB	= $(obj)lib$(BOARD).o