aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorTim Gardner <tim.gardner@canonical.com>2011-08-22 11:18:13 -0600
committerJohn Rigby <john.rigby@linaro.org>2011-11-16 14:26:08 -0700
commitef3581ace67356d35341b5f13133eddd55db8600 (patch)
treed1688de023de9613f94f586d0e7b01eb14f0099f /debian
parentb8e7143af03d47e40e30138028ca8ffe71828ef6 (diff)
downloadlinux-linaro-precise-ef3581ace67356d35341b5f13133eddd55db8600.tar.gz
UBUNTU: [Config] Set concurrency for kmake invocations
As it turns out, 'kmake modules_install' understands concurrency, and is quite a bit faster when told to parallelize the copy operation. Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/rules.d/2-binary-arch.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index d86789918ca..29bb002c4d7 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -72,7 +72,7 @@ ifeq ($(no_dumpfile),)
chmod 0600 $(pkgdir)/boot/vmcoreinfo-$(abi_release)-$*
endif
- $(build_cd) $(kmake) $(build_O) modules_install \
+ $(build_cd) $(kmake) $(build_O) $(conc_level) modules_install \
INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$(pkgdir)/ \
INSTALL_FW_PATH=$(pkgdir)/lib/firmware/$(abi_release)-$*
@@ -158,7 +158,7 @@ endif
sed -e 's/.*CONFIG_DEBUG_INFO=.*/# CONFIG_DEBUG_INFO is not set/g' > \
$(hdrdir)/.config
chmod 644 $(hdrdir)/.config
- $(kmake) O=$(hdrdir) silentoldconfig prepare scripts
+ $(kmake) O=$(hdrdir) -j1 silentoldconfig prepare scripts
# We'll symlink this stuff
rm -f $(hdrdir)/Makefile
rm -rf $(hdrdir)/include2