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>
		
	
			
		
			
				
	
	
		
			8 lines
		
	
	
		
			236 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			236 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # SPDX-License-Identifier: GPL-2.0
 | |
| 
 | |
| obj-y				+= xics-common.o
 | |
| obj-$(CONFIG_PPC_ICP_NATIVE)	+= icp-native.o
 | |
| obj-$(CONFIG_PPC_ICP_HV)	+= icp-hv.o
 | |
| obj-$(CONFIG_PPC_ICS_RTAS)	+= ics-rtas.o
 | |
| obj-$(CONFIG_PPC_POWERNV)	+= ics-opal.o icp-opal.o
 |