config: build: dont allow STRIP_KERNEL_EXPORTS on kernel 6.6
authorRobert Marko <robimarko@gmail.com>
Wed, 15 May 2024 08:43:52 +0000 (10:43 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 16 May 2024 13:12:53 +0000 (15:12 +0200)
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 <robimarko@gmail.com>
config/Config-build.in

index 24c2bcf13007c7bdf1cb4aba0ba8c390f3415998..97688785723d3ba30e3c5627245e3783248d3189 100644 (file)
@@ -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