diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2020-10-23 06:00:02 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-15 12:53:28 +0100 |
commit | c15d1f9d03a0f4f68bf52dffdd541c8054e6de35 (patch) | |
tree | 596e1d985fdef9aa89460a05215d61417c45a92d /arch/powerpc/configs/disable-werror.config | |
parent | powerpc/configs: Add ppc64le_allnoconfig target (diff) | |
download | linux-c15d1f9d03a0f4f68bf52dffdd541c8054e6de35.tar.xz linux-c15d1f9d03a0f4f68bf52dffdd541c8054e6de35.zip |
powerpc: Add config fragment for disabling -Werror
This makes it easy to disable building with -Werror:
$ make defconfig
$ grep WERROR .config
# CONFIG_PPC_DISABLE_WERROR is not set
CONFIG_PPC_WERROR=y
$ make disable-werror.config
GEN Makefile
Using .config as base
Merging arch/powerpc/configs/disable-werror.config
Value of CONFIG_PPC_DISABLE_WERROR is redefined by fragment arch/powerpc/configs/disable-werror.config:
Previous value: # CONFIG_PPC_DISABLE_WERROR is not set
New value: CONFIG_PPC_DISABLE_WERROR=y
...
$ grep WERROR .config
CONFIG_PPC_DISABLE_WERROR=y
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201023040002.3313371-1-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/configs/disable-werror.config')
-rw-r--r-- | arch/powerpc/configs/disable-werror.config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/configs/disable-werror.config b/arch/powerpc/configs/disable-werror.config new file mode 100644 index 000000000000..6ea12a12432c --- /dev/null +++ b/arch/powerpc/configs/disable-werror.config @@ -0,0 +1 @@ +CONFIG_PPC_DISABLE_WERROR=y |