blob: a8d5e4fcbe53ad0c410e161c09d72179f3e1c652 [file] [log] [blame]
Greg Kroah-Hartman96ac6d42019-05-30 05:03:44 -07001# SPDX-License-Identifier: GPL-2.0
Sam Ravnborg66f9ba12010-05-30 16:26:40 +02002# Fail on warnings - also for files referenced in subdirs
3# -Werror can be disabled for specific files using:
4# CFLAGS_<file.o> := -Wno-error
Florian Fainelli53736332017-03-16 18:06:12 -07005ifeq ($(W),)
Sam Ravnborg66f9ba12010-05-30 16:26:40 +02006subdir-ccflags-y := -Werror
Florian Fainelli53736332017-03-16 18:06:12 -07007endif
Sam Ravnborg66f9ba12010-05-30 16:26:40 +02008
Sam Ravnborg5d25b012010-05-30 16:27:10 +02009# platform specific definitions
10include arch/mips/Kbuild.platforms
11obj-y := $(platform-y)
Sam Ravnborg66f9ba12010-05-30 16:26:40 +020012
David Daneyad4b2b62010-10-18 17:51:26 -070013# make clean traverses $(obj-) without having included .config, so
14# everything ends up here
15obj- := $(platform-)
16
Sam Ravnborg9aeb4042010-05-30 13:27:22 +020017# mips object files
18# The object files are linked as core-y files would be linked
19
20obj-y += kernel/
21obj-y += mm/
Markos Chandrasc6610de2014-04-08 12:47:14 +010022obj-y += net/
Alex Smithebb5e782015-10-21 09:54:38 +010023obj-y += vdso/
Sanjay Lal2235a542012-11-21 18:33:59 -080024
25ifdef CONFIG_KVM
26obj-y += kvm/
27endif