Move the futex2-specific config changes to the futex2 patcher block

Fixes 45517faaf9
Fixes ccae6ec83d
This commit is contained in:
Tk-Glitch
2021-11-08 22:10:32 +01:00
parent ccae6ec83d
commit db405096bd

View File

@@ -1119,12 +1119,8 @@ _tkg_srcprep() {
_msg="Patching futex2 support" _msg="Patching futex2 support"
_tkg_patcher _tkg_patcher
_enable "FUTEX2" _enable "FUTEX2"
fi sed -i -e 's/# CONFIG_EXPERT is not set/CONFIG_EXPERT=y/' ./.config
fi echo -e "\r# start of config expert\r
if [ "$_futex2" = "true" ] && [ -e "$srcdir/0007-v${_basekernel}-futex2_interface.patch" ]; then
sed -i -e 's/# CONFIG_EXPERT is not set/CONFIG_EXPERT=y/' ./.config
echo -e "\r# start of config expert\r
# CONFIG_DEBUG_RSEQ is not set\r # CONFIG_DEBUG_RSEQ is not set\r
# CONFIG_PC104 is not set\r # CONFIG_PC104 is not set\r
# CONFIG_SLUB_MEMCG_SYSFS_ON is not set\r # CONFIG_SLUB_MEMCG_SYSFS_ON is not set\r
@@ -1209,6 +1205,7 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\r
# CONFIG_TRIM_UNUSED_KSYMS is not set\r # CONFIG_TRIM_UNUSED_KSYMS is not set\r
# CONFIG_VMLINUX_MAP is not set\r # CONFIG_VMLINUX_MAP is not set\r
# end of config expert\n">> ./.config # end of config expert\n">> ./.config
fi
fi fi
# winesync support # winesync support