|
@@ -1,7 +1,9 @@
|
|
|
# Fail on warnings - also for files referenced in subdirs
|
|
# Fail on warnings - also for files referenced in subdirs
|
|
|
# -Werror can be disabled for specific files using:
|
|
# -Werror can be disabled for specific files using:
|
|
|
# CFLAGS_<file.o> := -Wno-error
|
|
# CFLAGS_<file.o> := -Wno-error
|
|
|
|
|
+ifeq ($(W),)
|
|
|
subdir-ccflags-y := -Werror
|
|
subdir-ccflags-y := -Werror
|
|
|
|
|
+endif
|
|
|
|
|
|
|
|
# platform specific definitions
|
|
# platform specific definitions
|
|
|
include arch/mips/Kbuild.platforms
|
|
include arch/mips/Kbuild.platforms
|