Regardless of the concurrency setting, kernel preparation targets
cannot be made in parallel.
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
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