]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - lib/Kconfig.debug
Merge branch 'akpm-current/current'
[karo-tx-linux.git] / lib / Kconfig.debug
index 4d1b97b03b2f8ee27a000f66c4ab8c6cb5cae94d..526105c18566c16b0bdd6f0dc0d958b262724e0d 100644 (file)
@@ -216,7 +216,7 @@ config STRIP_ASM_SYMS
 
 config READABLE_ASM
         bool "Generate readable assembler code"
-        depends on DEBUG_KERNEL
+        depends on DEBUG_KERNEL && !LTO
         help
           Disable some compiler optimizations that tend to generate human unreadable
           assembler output. This may make the kernel slightly slower, but it helps
@@ -312,6 +312,15 @@ config DEBUG_SECTION_MISMATCH
          - Enable verbose reporting from modpost in order to help resolve
            the section mismatches that are reported.
 
+config SECTION_MISMATCH_WARN_ONLY
+       bool "Make section mismatch errors non-fatal"
+       default y
+       help
+         If you say N here, the build process will fail if there are any
+         section mismatch, instead of just throwing warnings.
+
+         If unsure, say Y.
+
 #
 # Select this config option from the architecture Kconfig, if it
 # is preferred to always offer frame pointers as a config