tegra2: Optimize out-of-tree build for Ventana.
authorThierry Reding <thierry.reding@avionic-design.de>
Wed, 21 Dec 2011 23:22:54 +0000 (23:22 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 24 Dec 2011 09:23:32 +0000 (10:23 +0100)
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>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/nvidia/ventana/Makefile

index eced3239f4507bb8967c4637e7a3768aadb58def..e3b7435530b97c3ac8701a3534aa7a174ff7f73c 100644 (file)
@@ -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