xref: /linux/arch/mips/Kbuild (revision 8bc7c5e525584903ea83332e18a2118ed3b1985e)
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