2010-05-30 10:26:40 -04:00
|
|
|
# Fail on warnings - also for files referenced in subdirs
|
|
|
|
# -Werror can be disabled for specific files using:
|
|
|
|
# CFLAGS_<file.o> := -Wno-error
|
2017-03-16 21:06:12 -04:00
|
|
|
ifeq ($(W),)
|
2010-05-30 10:26:40 -04:00
|
|
|
subdir-ccflags-y := -Werror
|
2017-03-16 21:06:12 -04:00
|
|
|
endif
|
2010-05-30 10:26:40 -04:00
|
|
|
|
2010-05-30 10:27:10 -04:00
|
|
|
# platform specific definitions
|
|
|
|
include arch/mips/Kbuild.platforms
|
|
|
|
obj-y := $(platform-y)
|
2010-05-30 10:26:40 -04:00
|
|
|
|
2010-10-18 20:51:26 -04:00
|
|
|
# make clean traverses $(obj-) without having included .config, so
|
|
|
|
# everything ends up here
|
|
|
|
obj- := $(platform-)
|
|
|
|
|
2010-05-30 07:27:22 -04:00
|
|
|
# mips object files
|
|
|
|
# The object files are linked as core-y files would be linked
|
|
|
|
|
|
|
|
obj-y += kernel/
|
|
|
|
obj-y += mm/
|
2014-04-08 07:47:14 -04:00
|
|
|
obj-y += net/
|
2015-10-21 04:54:38 -04:00
|
|
|
obj-y += vdso/
|
2012-11-21 21:33:59 -05:00
|
|
|
|
|
|
|
ifdef CONFIG_KVM
|
|
|
|
obj-y += kvm/
|
|
|
|
endif
|