196ac6d43SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 266f9ba10SSam Ravnborg# Fail on warnings - also for files referenced in subdirs 366f9ba10SSam Ravnborg# -Werror can be disabled for specific files using: 466f9ba10SSam Ravnborg# CFLAGS_<file.o> := -Wno-error 55373633cSFlorian Fainelliifeq ($(W),) 666f9ba10SSam Ravnborgsubdir-ccflags-y := -Werror 75373633cSFlorian Fainelliendif 866f9ba10SSam Ravnborg 95d25b01cSSam Ravnborg# platform specific definitions 10*67d7c302SMasahiro Yamadainclude $(srctree)/arch/mips/Kbuild.platforms 115d25b01cSSam Ravnborgobj-y := $(platform-y) 1266f9ba10SSam Ravnborg 13ad4b2b62SDavid Daney# make clean traverses $(obj-) without having included .config, so 14ad4b2b62SDavid Daney# everything ends up here 15125be586SHuacai Chenobj- := $(platform-y) 16ad4b2b62SDavid Daney 179aeb404bSSam Ravnborg# mips object files 189aeb404bSSam Ravnborg# The object files are linked as core-y files would be linked 199aeb404bSSam Ravnborg 209aeb404bSSam Ravnborgobj-y += kernel/ 219aeb404bSSam Ravnborgobj-y += mm/ 22c6610de3SMarkos Chandrasobj-y += net/ 23ebb5e78cSAlex Smithobj-y += vdso/ 242235a54dSSanjay Lal 252235a54dSSanjay Lalifdef CONFIG_KVM 262235a54dSSanjay Lalobj-y += kvm/ 272235a54dSSanjay Lalendif 288212f898SMasahiro Yamada 298212f898SMasahiro Yamada# for cleaning 308212f898SMasahiro Yamadasubdir- += boot 31