2010-05-30 16:26:40 +02:00
|
|
|
# Fail on warnings - also for files referenced in subdirs
|
|
|
|
# -Werror can be disabled for specific files using:
|
|
|
|
# CFLAGS_<file.o> := -Wno-error
|
|
|
|
subdir-ccflags-y := -Werror
|
|
|
|
|
2010-05-30 16:27:10 +02:00
|
|
|
# platform specific definitions
|
|
|
|
include arch/mips/Kbuild.platforms
|
|
|
|
obj-y := $(platform-y)
|
2010-05-30 16:26:40 +02:00
|
|
|
|
2010-10-19 02:51:26 +02:00
|
|
|
# make clean traverses $(obj-) without having included .config, so
|
|
|
|
# everything ends up here
|
|
|
|
obj- := $(platform-)
|
|
|
|
|
2010-05-30 13:27:22 +02:00
|
|
|
# mips object files
|
|
|
|
# The object files are linked as core-y files would be linked
|
|
|
|
|
|
|
|
obj-y += kernel/
|
|
|
|
obj-y += mm/
|
|
|
|
obj-y += math-emu/
|
2012-11-22 03:33:59 +01:00
|
|
|
|
|
|
|
ifdef CONFIG_KVM
|
|
|
|
obj-y += kvm/
|
|
|
|
endif
|