Browse Source

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>
Thierry Reding 13 years ago
parent
commit
a747cc0a8c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      board/nvidia/ventana/Makefile

+ 1 - 2
board/nvidia/ventana/Makefile

@@ -25,8 +25,7 @@
 include $(TOPDIR)/config.mk
 include $(TOPDIR)/config.mk
 
 
 ifneq ($(OBJTREE),$(SRCTREE))
 ifneq ($(OBJTREE),$(SRCTREE))
-$(shell mkdir -p $(obj)../seaboard)
-$(shell mkdir -p $(obj)../common)
+$(shell mkdir -p $(obj)../common $(obj)../seaboard)
 endif
 endif
 
 
 LIB	= $(obj)lib$(BOARD).o
 LIB	= $(obj)lib$(BOARD).o