ba55bd7436
Add the option to build the code under arch/powerpc with -Werror. The intention is to make it harder for people to inadvertantly introduce warnings 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. The option is a negative, ie. don't enable -Werror, so that it will be turned on for allyes and allmodconfig builds. The default is n, in the hope that developers will build with -Werror, that will probably lead to some build breaks, I am prepared to be flamed. It's not enabled for math-emu, which is a steaming pile of warnings. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
25 lines
740 B
Makefile
25 lines
740 B
Makefile
|
|
subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
|
|
|
|
obj-$(CONFIG_FSL_ULI1575) += fsl_uli1575.o
|
|
|
|
obj-$(CONFIG_PPC_PMAC) += powermac/
|
|
obj-$(CONFIG_PPC_CHRP) += chrp/
|
|
obj-$(CONFIG_40x) += 40x/
|
|
obj-$(CONFIG_44x) += 44x/
|
|
obj-$(CONFIG_PPC_MPC512x) += 512x/
|
|
obj-$(CONFIG_PPC_MPC52xx) += 52xx/
|
|
obj-$(CONFIG_PPC_8xx) += 8xx/
|
|
obj-$(CONFIG_PPC_82xx) += 82xx/
|
|
obj-$(CONFIG_PPC_83xx) += 83xx/
|
|
obj-$(CONFIG_PPC_85xx) += 85xx/
|
|
obj-$(CONFIG_PPC_86xx) += 86xx/
|
|
obj-$(CONFIG_PPC_PSERIES) += pseries/
|
|
obj-$(CONFIG_PPC_ISERIES) += iseries/
|
|
obj-$(CONFIG_PPC_MAPLE) += maple/
|
|
obj-$(CONFIG_PPC_PASEMI) += pasemi/
|
|
obj-$(CONFIG_PPC_CELL) += cell/
|
|
obj-$(CONFIG_PPC_PS3) += ps3/
|
|
obj-$(CONFIG_EMBEDDED6xx) += embedded6xx/
|
|
obj-$(CONFIG_AMIGAONE) += amigaone/
|