diff options
author | Sebastian Siewior <bigeasy@linutronix.de> | 2008-08-20 21:50:18 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-08-20 20:57:28 +0100 |
commit | 5b1cfb9d09a8a40577e79262c6d79dfcde36b1b7 (patch) | |
tree | e9fcec01567ec1151db3891db658717c8161ac18 | |
parent | 0d02d2fe2432e640b3b6150f69ba5245c77e427f (diff) |
mtd-utils: enable parallel build process
-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>
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | ubi-utils/Makefile | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -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} diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile index 3e6203f..bc27f7b 100644 --- a/ubi-utils/Makefile +++ b/ubi-utils/Makefile @@ -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 |