UBUNTU: [Config] kernel preparation cannot be parallelized
authorTim Gardner <tim.gardner@canonical.com>
Mon, 22 Aug 2011 15:44:19 +0000 (09:44 -0600)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 2 Apr 2012 20:10:37 +0000 (13:10 -0700)
Regardless of the concurrency setting, kernel preparation targets
cannot be made in parallel.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

debian/rules.d/2-binary-arch.mk

index c58a426..27b3975 100644 (file)
@@ -23,7 +23,7 @@ $(stampdir)/stamp-prepare-tree-%: $(commonconfdir)/config.common.$(family) $(arc
                rsync -a --exclude debian --exclude debian.master --exclude $(DEBIAN) * $(builddir)/build-$*
        cat $^ | sed -e 's/.*CONFIG_VERSION_SIGNATURE.*/CONFIG_VERSION_SIGNATURE="Ubuntu $(release)-$(revision)-$* $(raw_kernelversion)"/' > $(builddir)/build-$*/.config
        find $(builddir)/build-$* -name "*.ko" | xargs rm -f
-       $(build_cd) $(kmake) $(build_O) silentoldconfig prepare scripts
+       $(build_cd) $(kmake) $(build_O) -j1 silentoldconfig prepare scripts
        touch $@
 
 # Do the actual build, including image and modules