Skip to content

Commit

Permalink
Fix r7800 image compilation on kernel 6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Sep 6, 2024
1 parent 5bb12a0 commit 43fa4cb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ if [ "$OMR_KERNEL" = "6.6" ]; then
#echo "# CONFIG_PACKAGE_kmod-r8168 is not set" >> ".config"
#echo "# CONFIG_PACKAGE_kmod-button-hotplug is not set" >> ".config"
#echo "# CONFIG_PACKAGE_kmod-cryptodev is not set" >> ".config"
if [ "$OMR_TARGET" != "ubnt-erx" ]; then
if [ "$OMR_TARGET" != "ubnt-erx" ] && [ "$OMR_TARGET" != "r7800" ]; then
echo "CONFIG_BPF_TOOLCHAIN=y" >> ".config"
echo "CONFIG_BPF_TOOLCHAIN_HOST=y" >> ".config"
echo "CONFIG_KERNEL_BPF_EVENTS=y" >> ".config"
Expand Down
8 changes: 8 additions & 0 deletions config-r7800
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,11 @@ CONFIG_CRYPTO_SHA2_ARM_CE=y
CONFIG_CRYPTO_GHASH_ARM_CE=y
CONFIG_CRYPTO_AES_ARM=y
CONFIG_CRYPTO_AES_ARM_CE=y
# CONFIG_KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE is not set
CONFIG_KERNEL_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_KERNEL_GPIO_SYSFS=y
# CONFIG_KERNEL_IPV6_SEG6_LWTUNNEL is not set
# CONFIG_KERNEL_CGROUP_BPF is not set
# CONFIG_KERNEL_KPROBES is not set
# CONFIG_KERNEL_FTRACE is not set
# CONFIG_KERNEL_KALLSYMS is not set

0 comments on commit 43fa4cb

Please sign in to comment.