Put CONFIG_EXPERT behind a .cfg toggle and disable by default. This should stay optional.
Fixes https://github.com/Frogging-Family/linux-tkg/issues/156
This commit is contained in:
parent
1398ec3eaa
commit
6b67e77d5b
@ -60,6 +60,9 @@ _configfile=""
|
||||
# Disable some non-module debugging - See PKGBUILD for the list
|
||||
_debugdisable="false"
|
||||
|
||||
# Set to true to enable CONFIG_EXPERT - No need to enable it if you don't know you need it
|
||||
_config_expert="false"
|
||||
|
||||
# LEAVE AN EMPTY VALUE TO BE PROMPTED ABOUT FOLLOWING OPTIONS AT BUILD TIME
|
||||
|
||||
# CPU scheduler - Options are "upds" (TkG's Undead PDS), "pds", "bmq", "muqss" or "cfs"
|
||||
|
@ -495,7 +495,9 @@ _tkg_srcprep() {
|
||||
sed -i -e 's/# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4 is not set/CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4=y/' ./.config
|
||||
sed -i -e 's/CONFIG_ZSWAP_COMPRESSOR_DEFAULT="lzo"/CONFIG_ZSWAP_COMPRESSOR_DEFAULT="lz4"/' ./.config
|
||||
sed -i -e 's/# CONFIG_CMDLINE_BOOL is not set/CONFIG_CMDLINE_BOOL=y/' ./.config
|
||||
if [ "$_config_expert" = "true" ]; then
|
||||
sed -i -e 's/# CONFIG_EXPERT is not set/CONFIG_EXPERT=y/' ./.config
|
||||
fi
|
||||
echo "CONFIG_CMDLINE=\"${_custom_commandline}\"" >> ./.config
|
||||
echo "# CONFIG_CMDLINE_OVERRIDE is not set" >> ./.config
|
||||
echo "# CONFIG_X86_P6_NOP is not set" >> ./.config
|
||||
|
Loading…
Reference in New Issue
Block a user