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,10 +1119,6 @@ _tkg_srcprep() {
_msg="Patching futex2 support" _msg="Patching futex2 support"
_tkg_patcher _tkg_patcher
_enable "FUTEX2" _enable "FUTEX2"
fi
fi
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 sed -i -e 's/# CONFIG_EXPERT is not set/CONFIG_EXPERT=y/' ./.config
echo -e "\r# start of config expert\r echo -e "\r# start of config expert\r
# CONFIG_DEBUG_RSEQ is not set\r # CONFIG_DEBUG_RSEQ is not set\r
@@ -1210,6 +1206,7 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\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
tkgpatch="$srcdir/0007-v${_basekernel}-winesync.patch" tkgpatch="$srcdir/0007-v${_basekernel}-winesync.patch"