aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2009-01-19 00:47:42 +0000
committerAndy Green <agreen@octopus.localdomain>2009-01-19 00:47:42 +0000
commit3a01f98ede89d2d0791393c43625e824f03c3065 (patch)
tree11edc0f29364ffa935b6c0ae14396ace3ffe226f /build
parent4ff379a06a70e17997e196c9c393bc7c8648e42a (diff)
build-increase-parallel.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/build b/build
index db7a350b366..8f0b500d0a7 100755
--- a/build
+++ b/build
@@ -14,6 +14,8 @@
# this radically speeds up swapping between build contexts. Note the config
# for each build lives in the subdir.
+PARALLEL=16
+
if [ -z "$1" ] ; then
echo "Specify the build subdir, eg, GTA02 which contains the .config"
echo "and will hold the object files"
@@ -75,7 +77,7 @@ echo $MKIMAGECMD
# actually make it
#
-if make -j5 O=$1 ARCH=arm CONFIG_DEBUG_SECTION_MISMATCH=y EXTRAVERSION=$VERSION; then
+if make -j$PARALLEL O=$1 ARCH=arm CONFIG_DEBUG_SECTION_MISMATCH=y EXTRAVERSION=$VERSION; then
#
# if the build is happy, postprocess it by strip and with U-Boot header wrapper