xref: /linux/arch/mips/Kbuild (revision bb9707077b4ee5f77bc9939b057ff8a0d410296f)
1# Fail on warnings - also for files referenced in subdirs
2# -Werror can be disabled for specific files using:
3# CFLAGS_<file.o> := -Wno-error
4subdir-ccflags-y := -Werror
5
6# platform specific definitions
7include arch/mips/Kbuild.platforms
8obj-y := $(platform-y)
9
10# make clean traverses $(obj-) without having included .config, so
11# everything ends up here
12obj- := $(platform-)
13
14# mips object files
15# The object files are linked as core-y files would be linked
16
17obj-y += kernel/
18obj-y += mm/
19obj-y += net/
20obj-y += vdso/
21
22ifdef CONFIG_KVM
23obj-y += kvm/
24endif
25