From: Thierry Reding <thierry.reding@avionic-design.de>
Date: Wed, 21 Dec 2011 23:22:54 +0000 (+0000)
Subject: tegra2: Optimize out-of-tree build for Ventana.
X-Git-Tag: v2025.01-rc5-pxa1908~18234^2
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=a747cc0a8c55d69a56a6db80a35cdb48c853447d;p=u-boot.git

tegra2: Optimize out-of-tree build for Ventana.

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>
---

diff --git a/board/nvidia/ventana/Makefile b/board/nvidia/ventana/Makefile
index eced3239f4..e3b7435530 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