UBUNTU: [Packaging] Double the speed of updateconfigs

Use parallel build setting when building menuconfig.

mvo says "funny, make menuconfig feels like it takes the same amount
of time to compile as it did 15y ago when I used it last"

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
Dimitri John Ledkov
2022-07-15 12:12:14 +01:00
committed by Paolo Pisati
parent 53c9ca0683
commit 5d1fe8af23
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ printdebian:
updateconfigs defaultconfigs editconfigs genconfigs dumpconfigs:
dh_testdir;
$(SHELL) $(DROOT)/scripts/misc/kernelconfig $@ "$(do_enforce_all)"
conc_level=$(conc_level) $(SHELL) $(DROOT)/scripts/misc/kernelconfig $@ "$(do_enforce_all)"
rm -rf build
printenv:
+4 -4
View File
@@ -118,13 +118,13 @@ for arch in $archs; do
read choice
case "$choice" in
y* | Y* | "" )
make O=`pwd`/build $env menuconfig
make O=`pwd`/build $conc_level $env menuconfig
break ;;
n* | N* )
# 'syncconfig' prevents
# errors for '-' options set
# in common config fragments
make O=`pwd`/build $env syncconfig
make O=`pwd`/build $conc_level $env syncconfig
break ;;
*)
echo "Entry not valid"
@@ -134,9 +134,9 @@ for arch in $archs; do
*)
echo "* Run $mode (yes=$yes) on $arch/$config ..."
if [ "$yes" -eq 1 ]; then
yes "" | make O=`pwd`/build $env "$mode"
yes "" | make O=`pwd`/build $conc_level $env "$mode"
else
make O=`pwd`/build $env "$mode"
make O=`pwd`/build $conc_level $env "$mode"
fi ;;
esac
fi