1 # SPDX-License-Identifier: GPL-2.0-only !! 1 # Fail on warnings - also for files referenced in subdirs 2 obj-y += kernel/ mm/ !! 2 # -Werror can be disabled for specific files using: 3 obj-$(CONFIG_SH_FPU_EMU) += math-emu/ !! 3 # CFLAGS_<file.o> := -Wno-error 4 obj-$(CONFIG_USE_BUILTIN_DTB) += boot/dts/ !! 4 subdir-ccflags-y := -Werror 5 5 6 obj-$(CONFIG_HD6446X_SERIES) += cchips/hd64 !! 6 # platform specific definitions >> 7 include arch/mips/Kbuild.platforms >> 8 obj-y := $(platform-y) 7 9 8 # for cleaning !! 10 # make clean traverses $(obj-) without having included .config, so 9 subdir- += boot !! 11 # everything ends up here >> 12 obj- := $(platform-) >> 13 >> 14 # mips object files >> 15 # The object files are linked as core-y files would be linked >> 16 >> 17 obj-y += kernel/ >> 18 obj-y += mm/ >> 19 obj-y += math-emu/ >> 20 >> 21 ifdef CONFIG_KVM >> 22 obj-y += kvm/ >> 23 endif
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.