From: Robert Marko Date: Wed, 15 May 2024 08:43:52 +0000 (+0200) Subject: config: build: dont allow STRIP_KERNEL_EXPORTS on kernel 6.6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ca1c7635b911e68df74958f8f1301c7b44a61206;p=openwrt%2Fstaging%2Fthess.git config: build: dont allow STRIP_KERNEL_EXPORTS on kernel 6.6 STRIP_KERNEL_EXPORTS is currently not working on kernel 6.6 as there have been major changes in the upstream kernel. I have looked at it, and I dont think we can adapt the current patch to work so until this is fixed lets prevent STRIP_KERNEL_EXPORTS from being selected on 6.6. Link: https://github.com/openwrt/openwrt/pull/15498 Signed-off-by: Robert Marko --- diff --git a/config/Config-build.in b/config/Config-build.in index 24c2bcf130..9768878572 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -228,6 +228,7 @@ menu "Global build settings" config STRIP_KERNEL_EXPORTS bool "Strip unnecessary exports from the kernel image" + depends on !LINUX_6_6 help Reduces kernel size by stripping unused kernel exports from the kernel image. Note that this might make the kernel incompatible with any kernel