]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/mips/Kbuild
MIPS: Add -Werror to arch/mips/Kbuild
[karo-tx-linux.git] / arch / mips / Kbuild
index a18eb5d4d40e7521d1aea63c0c8fb42402b77608..6ce938200bbdc6a2b69135642c86cf85f93ce678 100644 (file)
@@ -1,3 +1,9 @@
+# Fail on warnings - also for files referenced in subdirs
+# -Werror can be disabled for specific files using:
+# CFLAGS_<file.o> := -Wno-error
+subdir-ccflags-y := -Werror
+
+
 # mips object files
 # The object files are linked as core-y files would be linked