mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Michael Ellerman](/assets/img/avatar_default.png)
Back when I added -Werror in commit ba55bd7436
("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>
16 lines
311 B
Makefile
16 lines
311 B
Makefile
subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
|
|
|
|
obj-y += kernel/
|
|
obj-y += mm/
|
|
obj-y += lib/
|
|
obj-y += sysdev/
|
|
obj-y += platforms/
|
|
obj-y += math-emu/
|
|
obj-y += crypto/
|
|
obj-y += net/
|
|
|
|
obj-$(CONFIG_XMON) += xmon/
|
|
obj-$(CONFIG_KVM) += kvm/
|
|
|
|
obj-$(CONFIG_PERF_EVENTS) += perf/
|
|
obj-$(CONFIG_KEXEC_FILE) += purgatory/
|