]> Git Repo - linux.git/commitdiff
powerpc: Add config fragment for disabling -Werror
authorMichael Ellerman <[email protected]>
Fri, 23 Oct 2020 04:00:02 +0000 (15:00 +1100)
committerMichael Ellerman <[email protected]>
Tue, 15 Dec 2020 11:53:28 +0000 (22:53 +1100)
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/powerpc/configs/disable-werror.config [new file with mode: 0644]

diff --git a/arch/powerpc/configs/disable-werror.config b/arch/powerpc/configs/disable-werror.config
new file mode 100644 (file)
index 0000000..6ea12a1
--- /dev/null
@@ -0,0 +1 @@
+CONFIG_PPC_DISABLE_WERROR=y
This page took 0.071154 seconds and 4 git commands to generate.