summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2011-11-05 14:44:41 +0100
committerPatrick Georgi <patrick@georgi-clan.de>2012-05-10 22:11:16 +0200
commit43105d6a5a4898386e35c4fdccdf643b95faef98 (patch)
treebf3d847c2ebd1cc4958645f94e014caaf7671659 /Makefile.inc
parenta495335de44eead583fc98455191d3da74ccd984 (diff)
abuild: Build boards in parallel if possible
Determine if xargs -P works. If yes, use that to build multiple boards in parallel, instead of relying on make -j X, when doing a full abuild run (instead of single boards). make -j X isn't able to make use of several cores at various serialization points in our build process, so this change results in a >25% speed up for a full abuild run in my tests. Change-Id: Id484a4211c84a3a24115278e0fbe92345f346596 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/409 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 01fb41f852..176ff6750e 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -298,3 +298,5 @@ crosstools: clean-for-update
crossgcc-clean: clean-for-update
$(MAKE) -C util/crossgcc clean
+tools: $(objutil)/kconfig/conf $(objutil)/cbfstool/cbfstool $(objutil)/nvramtool/nvramtool $(objutil)/romcc/romcc $(objutil)/sconfig/sconfig
+