blob: 5cef58651db0738b5428d68f5f38dbdb834204e6 [file] [log] [blame]
Sam Ravnborg66f9ba12010-05-30 16:26:40 +02001# Fail on warnings - also for files referenced in subdirs
2# -Werror can be disabled for specific files using:
3# CFLAGS_<file.o> := -Wno-error
Florian Fainelli53736332017-03-16 18:06:12 -07004ifeq ($(W),)
Sam Ravnborg66f9ba12010-05-30 16:26:40 +02005subdir-ccflags-y := -Werror
Florian Fainelli53736332017-03-16 18:06:12 -07006endif
Sam Ravnborg66f9ba12010-05-30 16:26:40 +02007
Sam Ravnborg5d25b012010-05-30 16:27:10 +02008# platform specific definitions
9include arch/mips/Kbuild.platforms
10obj-y := $(platform-y)
Sam Ravnborg66f9ba12010-05-30 16:26:40 +020011
David Daneyad4b2b62010-10-18 17:51:26 -070012# make clean traverses $(obj-) without having included .config, so
13# everything ends up here
14obj- := $(platform-)
15
Sam Ravnborg9aeb4042010-05-30 13:27:22 +020016# mips object files
17# The object files are linked as core-y files would be linked
18
19obj-y += kernel/
20obj-y += mm/
Markos Chandrasc6610de2014-04-08 12:47:14 +010021obj-y += net/
Alex Smithebb5e782015-10-21 09:54:38 +010022obj-y += vdso/
Sanjay Lal2235a542012-11-21 18:33:59 -080023
24ifdef CONFIG_KVM
25obj-y += kvm/
26endif