summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsayad2021-01-28 10:29:01 +0600
committersayad2021-01-28 10:29:01 +0600
commit6fc16a89b654618e3c6148df29e997b73f78d2e3 (patch)
treedbfc5f6f12d01a251264b5733638f087b3994f9f
parent773167b8ead2d962b27f9287cc672792ead2d0a2 (diff)
downloadaur-6fc16a89b654618e3c6148df29e997b73f78d2e3.tar.gz
Bug fix
-rw-r--r--prepare2
1 files changed, 1 insertions, 1 deletions
diff --git a/prepare b/prepare
index 4392adb966e8..c12bc9e2b6f7 100644
--- a/prepare
+++ b/prepare
@@ -700,7 +700,7 @@ _tkg_srcprep() {
# rq sharing
if [ "$_runqueue_sharing" = "none" ]; then
echo -e "CONFIG_RQ_NONE=y\n# CONFIG_RQ_SMT is not set\n# CONFIG_RQ_MC is not set\n# CONFIG_RQ_MC_LLC is not set\n# CONFIG_RQ_SMP is not set\n# CONFIG_RQ_ALL is not set" >> ./.config
- elif [ "$_runqueue_sharing" = "smt" ]; then
+ elif [ -z "$_runqueue_sharing" ] || [ "$_runqueue_sharing" = "smt" ]; then
echo -e "# CONFIG_RQ_NONE is not set\nCONFIG_RQ_SMT=y\n# CONFIG_RQ_MC is not set\n# CONFIG_RQ_MC_LLC is not set\n# CONFIG_RQ_SMP is not set\n# CONFIG_RQ_ALL is not set" >> ./.config
elif [ "$_runqueue_sharing" = "mc" ]; then
echo -e "# CONFIG_RQ_NONE is not set\n# CONFIG_RQ_SMT is not set\nCONFIG_RQ_MC=y\n# CONFIG_RQ_MC_LLC is not set\n# CONFIG_RQ_SMP is not set\n# CONFIG_RQ_ALL is not set" >> ./.config