[openwrt/openwrt] config: build: dont allow STRIP_KERNEL_EXPORTS on kernel 6.6

LEDE Commits lede-commits at lists.infradead.org
Thu May 16 06:12:57 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ca1c7635b911e68df74958f8f1301c7b44a61206

commit ca1c7635b911e68df74958f8f1301c7b44a61206
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Wed May 15 10:43:52 2024 +0200

    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 <robimarko at gmail.com>
---
 config/Config-build.in | 1 +
 1 file changed, 1 insertion(+)

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




More information about the lede-commits mailing list