xref: /linux/arch/mips/Kbuild (revision be239684b18e1cdcafcf8c7face4a2f562c745ad)
1# SPDX-License-Identifier: GPL-2.0
2
3# platform specific definitions
4include $(srctree)/arch/mips/Kbuild.platforms
5obj-y := $(platform-y)
6
7# make clean traverses $(obj-) without having included .config, so
8# everything ends up here
9obj- := $(platform-y)
10
11# mips object files
12# The object files are linked as core-y files would be linked
13
14obj-y += kernel/
15obj-y += mm/
16obj-y += net/
17obj-y += vdso/
18
19ifdef CONFIG_KVM
20obj-y += kvm/
21endif
22
23# for cleaning
24subdir- += boot
25