]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Add config fragment for disabling -Werror
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 23 Oct 2020 04:00:02 +0000 (15:00 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Dec 2020 11:53:28 +0000 (22:53 +1100)
commit41e6524e9d6d60773312fb9fd408f45bf8ab7b84
tree596e1d985fdef9aa89460a05215d61417c45a92d
parent6447f80761b6a9a28a19bd4aa40c13c662f6275f
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
arch/powerpc/configs/disable-werror.config [new file with mode: 0644]