VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Linus Torvalds <torvalds@linux-foundation.org> 2021-02-24 08:57:06 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-02-24 08:57:06 -0800 commit: a555bdd0c58ce368fb1324f0e93d17f7c4babece parent: c03c21ba6f4e95e406a1a7b4c34ef334b977c194
Commit Summary:
Kbuild: enable TRIM_UNUSED_KSYMS again, with some guarding
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig
index ba8bd5256980..c2a18f56e944 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -2273,8 +2273,8 @@ config MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS
 	  If unsure, say N.
 
 config TRIM_UNUSED_KSYMS
-	bool "Trim unused exported kernel symbols"
-	depends on BROKEN
+	bool "Trim unused exported kernel symbols" if EXPERT
+	depends on !COMPILE_TEST
 	help
 	  The kernel and some modules make many symbols available for
 	  other modules to use via EXPORT_SYMBOL() and variants. Depending