1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Add BPF only on kernel 6.6

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-04-30 08:04:36 +02:00
parent 5c9ed83300
commit f9edaeccad
3 changed files with 5 additions and 4 deletions

View file

@ -820,6 +820,10 @@ if [ "$OMR_KERNEL" = "6.6" ]; then
#echo "# CONFIG_PACKAGE_kmod-cryptodev is not set" >> ".config"
echo "CONFIG_BPF_TOOLCHAIN=y" >> ".config"
echo "CONFIG_BPF_TOOLCHAIN_HOST=y" >> ".config"
echo "CONFIG_KERNEL_BPF_EVENTS=y" >> ".config"
echo "CONFIG_KERNEL_DEBUG_INFO=y" >> ".config"
echo "CONFIG_KERNEL_DEBUG_INFO_BTF=y" >> ".config"
echo "# CONFIG_KERNEL_DEBUG_INFO_REDUCED is not set" >> ".config"
# Remove for now packages that doesn't compile
#rm -rf package/kernel/mt76
#rm -rf package/kernel/rtl8812au-ct