prepare: Prevent config prompt w/ modprobed-db. (#251)
This commit is contained in:
@@ -42,7 +42,6 @@ _force_all_threads="true"
|
||||
_noccache="false"
|
||||
|
||||
# Set to true to use modprobed db to clean config from unneeded modules. Speeds up compilation considerably. Requires root - https://wiki.archlinux.org/index.php/Modprobed-db
|
||||
# Using this option can trigger user prompts if the config doesn't go smoothly.
|
||||
# !!!! Make sure to have a well populated db !!!! - Leave empty to be asked about it at build time
|
||||
_modprobeddb="false"
|
||||
|
||||
|
@@ -1351,6 +1351,10 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\n
|
||||
msg2 "modprobed-db database not found"
|
||||
exit 1
|
||||
fi
|
||||
# Workaround for: https://github.com/Tk-Glitch/PKGBUILDS/issues/404.
|
||||
echo "# CONFIG_GPIO_BT8XX is not set" >> ./.config
|
||||
echo "# CONFIG_SND_SE6X is not set" >> ./.config
|
||||
|
||||
make LSMOD=$_modprobeddb_db_path localmodconfig ${llvm_opt}
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user