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

Message ID 1324545774-18227-1-git-send-email-thierry.reding@avionic-design.de
State Accepted
Commit a747cc0a8c55d69a56a6db80a35cdb48c853447d
Headers show

Commit Message

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 <thierry.reding@avionic-design.de>
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)/config.mk
 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