1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun# Fail on warnings - also for files referenced in subdirs 3*4882a593Smuzhiyun# -Werror can be disabled for specific files using: 4*4882a593Smuzhiyun# CFLAGS_<file.o> := -Wno-error 5*4882a593Smuzhiyunifeq ($(W),) 6*4882a593Smuzhiyunsubdir-ccflags-y := -Werror 7*4882a593Smuzhiyunendif 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun# platform specific definitions 10*4882a593Smuzhiyuninclude arch/mips/Kbuild.platforms 11*4882a593Smuzhiyunobj-y := $(platform-y) 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun# make clean traverses $(obj-) without having included .config, so 14*4882a593Smuzhiyun# everything ends up here 15*4882a593Smuzhiyunobj- := $(platform-y) 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun# mips object files 18*4882a593Smuzhiyun# The object files are linked as core-y files would be linked 19*4882a593Smuzhiyun 20*4882a593Smuzhiyunobj-y += kernel/ 21*4882a593Smuzhiyunobj-y += mm/ 22*4882a593Smuzhiyunobj-y += net/ 23*4882a593Smuzhiyunobj-y += vdso/ 24*4882a593Smuzhiyun 25*4882a593Smuzhiyunifdef CONFIG_KVM 26*4882a593Smuzhiyunobj-y += kvm/ 27*4882a593Smuzhiyunendif 28