]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/Kconfig.debug
module: handle ppc64 relocating kcrctabs when CONFIG_RELOCATABLE=y
[karo-tx-linux.git] / arch / powerpc / Kconfig.debug
index d79a902d155af69406d9d8b9199ea4519cd44669..3b1005185390557558c99d3efb971824b8b76b68 100644 (file)
@@ -2,6 +2,23 @@ menu "Kernel hacking"
 
 source "lib/Kconfig.debug"
 
+config PPC_DISABLE_WERROR
+       bool "Don't build arch/powerpc code with -Werror"
+       default n
+       help
+         This option tells the compiler NOT to build the code under
+         arch/powerpc with the -Werror flag (which means warnings
+         are treated as errors).
+
+         Only enable this if you are hitting a build failure in the
+         arch/powerpc code caused by a warning, and you don't feel
+         inclined to fix it.
+
+config PPC_WERROR
+       bool
+       depends on !PPC_DISABLE_WERROR
+       default y
+
 config PRINT_STACK_DEPTH
        int "Stack depth to print" if DEBUG_KERNEL
        default 64