1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-14 12:21:53 +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

@ -8256,3 +8256,4 @@ CONFIG_DRM_I915_PREEMPT_TIMEOUT_COMPUTE=7500
# CONFIG_CPUFREQ_DT is not set
# CONFIG_SEL3350_PLATFORM is not set
# CONFIG_NF_CONNTRACK_DSCPREMARK_EXT is not set
# CONFIG_ARM_SMMU_V3_PMU is not set

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

4
config
View file

@ -291,7 +291,3 @@ CONFIG_KERNEL_NF_CONNTRACK_DESTROY_HOOK=y
# CONFIG_SIGNATURE_CHECK is not set
# CONFIG_PACKAGE_kmod-leds-gca230718 is not set
# CONFIG_PACKAGE_libustream-mbedtls is not set
CONFIG_KERNEL_BPF_EVENTS=y
CONFIG_KERNEL_DEBUG_INFO=y
CONFIG_KERNEL_DEBUG_INFO_BTF=y
# CONFIG_KERNEL_DEBUG_INFO_REDUCED is not set