On Apr 6, 2009, at 9:00 PM, Michael Ellerman wrote:

Add an option, on by default, to build all code under arch/powerpc with
-Werror, which causes gcc to treat warnings as errors.

The intention is to make it harder for people to inadvertantly introduce
errors in the arch/powerpc code. It needs to be configurable so that
if a warning is introduced, people can easily work around it while it's
being fixed.

Signed-off-by: Michael Ellerman <mich...@ellerman.id.au>
---
arch/powerpc/Kconfig.debug      |    8 ++++++++
arch/powerpc/kernel/Makefile    |    4 ++++
arch/powerpc/kvm/Makefile       |    4 ++++
arch/powerpc/lib/Makefile       |    4 ++++
arch/powerpc/mm/Makefile        |    4 ++++
arch/powerpc/oprofile/Makefile  |    4 ++++
arch/powerpc/platforms/Makefile |    4 ++++
arch/powerpc/sysdev/Makefile    |    4 ++++
arch/powerpc/xmon/Makefile      |    4 ++++
9 files changed, 40 insertions(+), 0 deletions(-)

v2: Leave math-emu alone, it's a steaming pile of warnings.

Acked-by: Kumar Gala <ga...@kernel.crashing.org>

- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to