diff options
author | Björn Stenberg <bjorn@haxx.se> | 2009-07-24 21:53:32 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2009-07-24 21:53:32 +0000 |
commit | 4fc00222cb5851e28e83d367f173038c7d026b03 (patch) | |
tree | 01dc3cc97e5c09b405249686be586f5c3e1776b9 /tools/functions.make | |
parent | eb0061411d6fa08ab540107cdbd2906e18e516d7 (diff) | |
download | rockbox-4fc00222cb5851e28e83d367f173038c7d026b03.tar.gz rockbox-4fc00222cb5851e28e83d367f173038c7d026b03.tar.bz2 rockbox-4fc00222cb5851e28e83d367f173038c7d026b03.zip |
Dependency generation now uses all cores on multi-core machines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22021 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/functions.make')
-rw-r--r-- | tools/functions.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/functions.make b/tools/functions.make index d08742a133..045354da66 100644 --- a/tools/functions.make +++ b/tools/functions.make @@ -33,7 +33,7 @@ c2obj = $(addsuffix .o,$(basename $(subst $(ROOTDIR),$(BUILDDIR),$(1)))) # calculate dependencies for a list of source files $(2) and output them # to a file $(1)_, to be later renamed to $(1). mkdepfile = $(shell \ - $(CC) $(PPCFLAGS) $(OTHER_INC) -MG -MM -include config.h $(2) | \ + perl $(TOOLSDIR)/multigcc.pl $(CC) $(PPCFLAGS) $(OTHER_INC) -MG -MM -include config.h -- $(2) | \ sed -e "s: lang.h: lang/lang_core.o:" \ -e 's:_asmdefs.o:_asmdefs.h:' \ -e "s: max_language_size.h: lang/max_language_size.h:" | \ |