diff options
Diffstat (limited to 'arch/powerpc/Kconfig.debug')
-rw-r--r-- | arch/powerpc/Kconfig.debug | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index d79a902d155a..3b1005185390 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug | |||
@@ -2,6 +2,23 @@ menu "Kernel hacking" | |||
2 | 2 | ||
3 | source "lib/Kconfig.debug" | 3 | source "lib/Kconfig.debug" |
4 | 4 | ||
5 | config PPC_DISABLE_WERROR | ||
6 | bool "Don't build arch/powerpc code with -Werror" | ||
7 | default n | ||
8 | help | ||
9 | This option tells the compiler NOT to build the code under | ||
10 | arch/powerpc with the -Werror flag (which means warnings | ||
11 | are treated as errors). | ||
12 | |||
13 | Only enable this if you are hitting a build failure in the | ||
14 | arch/powerpc code caused by a warning, and you don't feel | ||
15 | inclined to fix it. | ||
16 | |||
17 | config PPC_WERROR | ||
18 | bool | ||
19 | depends on !PPC_DISABLE_WERROR | ||
20 | default y | ||
21 | |||
5 | config PRINT_STACK_DEPTH | 22 | config PRINT_STACK_DEPTH |
6 | int "Stack depth to print" if DEBUG_KERNEL | 23 | int "Stack depth to print" if DEBUG_KERNEL |
7 | default 64 | 24 | default 64 |