diff --git a/patch/misc/general-packaging-5.10.y.patch b/patch/misc/general-packaging-5.10.y.patch index 73e19d77fb..f79291cb3f 100644 --- a/patch/misc/general-packaging-5.10.y.patch +++ b/patch/misc/general-packaging-5.10.y.patch @@ -67,8 +67,8 @@ index 1b11f8993..c21d931ea 100755 +cd /usr/src/linux-headers-$version +echo "Compiling headers - please wait ..." +find -type f -exec touch {} + -+make -s scripts >/dev/null -+make -s M=scripts/mod/ >/dev/null ++make -j$(grep -c 'processor' /proc/cpuinfo) -s scripts >/dev/null ++make -j$(grep -c 'processor' /proc/cpuinfo) -s M=scripts/mod/ >/dev/null +exit 0 +EOT + diff --git a/patch/misc/general-packaging-5.3.y.patch b/patch/misc/general-packaging-5.3.y.patch index 5be5bbf71f..d41f9cc153 100644 --- a/patch/misc/general-packaging-5.3.y.patch +++ b/patch/misc/general-packaging-5.3.y.patch @@ -54,8 +54,8 @@ index c4c580f547ef..2be8a687f878 100755 +cd /usr/src/linux-headers-$version +echo "Compiling headers - please wait ..." +find -type f -exec touch {} + -+make -s scripts >/dev/null -+make -s M=scripts/mod/ >/dev/null ++make -j$(grep -c 'processor' /proc/cpuinfo) -s scripts >/dev/null ++make -j$(grep -c 'processor' /proc/cpuinfo) -s M=scripts/mod/ >/dev/null +exit 0 +EOT + diff --git a/patch/misc/general-packaging-5.6.y.patch b/patch/misc/general-packaging-5.6.y.patch index e89c9febb2..0af7126ada 100644 --- a/patch/misc/general-packaging-5.6.y.patch +++ b/patch/misc/general-packaging-5.6.y.patch @@ -43,8 +43,8 @@ index 6df3c9f..d33e1f3 100755 +cd /usr/src/linux-headers-$version +echo "Compiling headers - please wait ..." +find -type f -exec touch {} + -+make -s scripts >/dev/null -+make -s M=scripts/mod/ >/dev/null ++make -j$(grep -c 'processor' /proc/cpuinfo) -s scripts >/dev/null ++make -j$(grep -c 'processor' /proc/cpuinfo) -s M=scripts/mod/ >/dev/null +exit 0 +EOT + diff --git a/patch/misc/general-packaging-5.8-9.y.patch b/patch/misc/general-packaging-5.8-9.y.patch index c44e6bec74..3967036807 100644 --- a/patch/misc/general-packaging-5.8-9.y.patch +++ b/patch/misc/general-packaging-5.8-9.y.patch @@ -43,8 +43,8 @@ index 6df3c9f..d33e1f3 100755 +cd /usr/src/linux-headers-$version +echo "Compiling headers - please wait ..." +find -type f -exec touch {} + -+make -s scripts >/dev/null -+make -s M=scripts/mod/ >/dev/null ++make -j$(grep -c 'processor' /proc/cpuinfo) -s scripts >/dev/null ++make -j$(grep -c 'processor' /proc/cpuinfo) -s M=scripts/mod/ >/dev/null +exit 0 +EOT +