From: Sam Ravnborg Date: Sun, 30 May 2010 14:26:40 +0000 (+0200) Subject: MIPS: Add -Werror to arch/mips/Kbuild X-Git-Tag: v2.6.36-rc1~563^2~127 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66f9ba101f54bda63ab1db97f9e9e94763d0651b;p=pandora-kernel.git MIPS: Add -Werror to arch/mips/Kbuild Adding subdirs-ccflags-y := -Werror to arch/mips/Kbuild let us in one go cover all files with -Werror. In addition this allows us to remove the individual -Werror definition in various Makefile. Adding the definition to Kbuild as a recursive option help us not to forget to do so. With this change we now compile arch/mips/kernel/cpufreq with -Werror One drawback: When specifying a subdirectory covered by the Kbuild file like this: make arch/mips/kernel/ then kbuild fails to pick up the -Werror definition. Signed-off-by: Sam Ravnborg To: linux-mips To: Wu Zhangjin Patchwork: https://patchwork.linux-mips.org/patch/1301/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed