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

Thierry Reding thierry.reding at avionic-design.de
Thu Dec 22 10:22:54 CET 2011


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 at 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)
 endif
 
 LIB	= $(obj)lib$(BOARD).o
-- 
1.7.8



More information about the U-Boot mailing list