18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci# Fail on warnings - also for files referenced in subdirs
38c2ecf20Sopenharmony_ci# -Werror can be disabled for specific files using:
48c2ecf20Sopenharmony_ci# CFLAGS_<file.o> := -Wno-error
58c2ecf20Sopenharmony_ciifeq ($(W),)
68c2ecf20Sopenharmony_cisubdir-ccflags-y := -Werror
78c2ecf20Sopenharmony_ciendif
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci# platform specific definitions
108c2ecf20Sopenharmony_ciinclude arch/mips/Kbuild.platforms
118c2ecf20Sopenharmony_ciobj-y := $(platform-y)
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci# make clean traverses $(obj-) without having included .config, so
148c2ecf20Sopenharmony_ci# everything ends up here
158c2ecf20Sopenharmony_ciobj- := $(platform-y)
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci# mips object files
188c2ecf20Sopenharmony_ci# The object files are linked as core-y files would be linked
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciobj-y += kernel/
218c2ecf20Sopenharmony_ciobj-y += mm/
228c2ecf20Sopenharmony_ciobj-y += net/
238c2ecf20Sopenharmony_ciobj-y += vdso/
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciifdef CONFIG_KVM
268c2ecf20Sopenharmony_ciobj-y += kvm/
278c2ecf20Sopenharmony_ciendif
28