]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Add -Werror at arch/powerpc level
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 10 Oct 2018 05:13:06 +0000 (16:13 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 18 Oct 2018 13:56:17 +0000 (00:56 +1100)
commit124eacfc7e96669e9a48396ddb4971c69a4bb757
treee5811bfce079b051dd6a4189cf78a44b93d412cf
parentf7550d90767dbc9c311f0034660297333964f2a4
powerpc: Add -Werror at arch/powerpc level

Back when I added -Werror in commit 04f0169b9540 ("powerpc: Add
configurable -Werror for arch/powerpc") I did it by adding it to most
of the arch Makefiles.

At the time we excluded math-emu, because apparently it didn't build
cleanly. But that seems to have been fixed somewhere in the interim.

So move the -Werror addition to the top-level of the arch, this saves
us from repeating it in every Makefile and means we won't forget to
add it to any new sub-dirs.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
13 files changed:
arch/powerpc/Kbuild
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/trace/Makefile
arch/powerpc/kvm/Makefile
arch/powerpc/lib/Makefile
arch/powerpc/mm/Makefile
arch/powerpc/oprofile/Makefile
arch/powerpc/perf/Makefile
arch/powerpc/platforms/Makefile
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/xics/Makefile
arch/powerpc/sysdev/xive/Makefile
arch/powerpc/xmon/Makefile