1 # SPDX-License-Identifier: GPL-2.0
2 # Fail on warnings - also for files referenced in subdirs
3 # -Werror can be disabled for specific files using:
4 # CFLAGS_<file.o> := -Wno-error
6 subdir-ccflags-y := -Werror
9 # platform specific definitions
10 include arch/mips/Kbuild.platforms
11 obj-y := $(platform-y)
13 # make clean traverses $(obj-) without having included .config, so
14 # everything ends up here
18 # The object files are linked as core-y files would be linked