Commit | Line | Data |
---|---|---|
96ac6d43 | 1 | # SPDX-License-Identifier: GPL-2.0 |
66f9ba10 SR |
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 | |
5373633c | 5 | ifeq ($(W),) |
66f9ba10 | 6 | subdir-ccflags-y := -Werror |
5373633c | 7 | endif |
66f9ba10 | 8 | |
5d25b01c SR |
9 | # platform specific definitions |
10 | include arch/mips/Kbuild.platforms | |
11 | obj-y := $(platform-y) | |
66f9ba10 | 12 | |
ad4b2b62 DD |
13 | # make clean traverses $(obj-) without having included .config, so |
14 | # everything ends up here | |
125be586 | 15 | obj- := $(platform-y) |
ad4b2b62 | 16 | |
9aeb404b SR |
17 | # mips object files |
18 | # The object files are linked as core-y files would be linked | |
19 | ||
20 | obj-y += kernel/ | |
21 | obj-y += mm/ | |
c6610de3 | 22 | obj-y += net/ |
ebb5e78c | 23 | obj-y += vdso/ |
2235a54d SL |
24 | |
25 | ifdef CONFIG_KVM | |
26 | obj-y += kvm/ | |
27 | endif |