xref: /linux/arch/mips/Kbuild (revision 78c3925c048c752334873f56c3a3d1c9d53e0416)
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 += generic/
15obj-y += kernel/
16obj-y += mm/
17obj-y += net/
18obj-y += vdso/
19
20ifdef CONFIG_KVM
21obj-y += kvm/
22endif
23
24# for cleaning
25subdir- += boot
26