]> www.infradead.org Git - mtd-utils.git/commitdiff
mtd-utils: enable parallel build process
authorSebastian Siewior <bigeasy@linutronix.de>
Wed, 20 Aug 2008 19:50:18 +0000 (21:50 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 20 Aug 2008 19:57:28 +0000 (20:57 +0100)
-j 2 build was not possible without this patch.

Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Makefile
ubi-utils/Makefile

index 2000b172ad106800d4057c3d45311800438ad224..6ca6e0db48b099246160f2d944ea7923d5d8f006 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -47,8 +47,8 @@ $(BUILDDIR)/%.o: %.c
 .SUFFIXES:
 
 all: $(TARGETS)
-       make -C $(BUILDDIR)/ubi-utils
-       make -C $(BUILDDIR)/mkfs.ubifs
+       $(MAKE) -C $(BUILDDIR)/ubi-utils
+       $(MAKE) -C $(BUILDDIR)/mkfs.ubifs
 
 IGNORE=${wildcard $(BUILDDIR)/.*.c.dep}
 -include ${IGNORE}
index 3e6203fbc77b23e506c832df97092dabc992fb05..bc27f7b3d69ea9433fb4722cc1292c6edc63745a 100644 (file)
@@ -30,18 +30,18 @@ vpath   %.c ./src
        $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< -g -Wp,-MD,.$(shell basename $<).dep
 
 all: $(TARGETS)
-       make -C new-utils
+       $(MAKE) -C new-utils
 
 IGNORE=${wildcard .*.c.dep}
 -include ${IGNORE}
 
 $(NTARGETS):
-       make -C new-utils $@
+       $(MAKE) -C new-utils $@
        mv new-utils/$@ $@
 
 clean:
        rm -rf *.o $(TARGETS) .*.c.dep
-       make -C new-utils clean
+       $(MAKE) -C new-utils clean
 
 pddcustomize: pddcustomize.o error.o libubimirror.o bootenv.o hashmap.o \
                libubi.o crc32.o