1 # SPDX-License-Identifier: GPL-2.0-only !! 1 # Fail on warnings - also for files referenced in subdirs >> 2 # -Werror can be disabled for specific files using: >> 3 # CFLAGS_<file.o> := -Wno-error >> 4 subdir-ccflags-y := -Werror 2 5 3 obj-y += kernel/ mm/ net/ !! 6 # platform specific definitions 4 obj-$(CONFIG_BUILTIN_DTB) += boot/dts/ !! 7 include arch/mips/Kbuild.platforms 5 obj-$(CONFIG_CRYPTO) += crypto/ !! 8 obj-y := $(platform-y) 6 obj-y += errata/ << 7 obj-$(CONFIG_KVM) += kvm/ << 8 9 9 obj-$(CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY) += !! 10 # make clean traverses $(obj-) without having included .config, so >> 11 # everything ends up here >> 12 obj- := $(platform-) 10 13 11 # for cleaning !! 14 # mips object files 12 subdir- += boot !! 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 += net/ >> 20 obj-y += vdso/ >> 21 >> 22 ifdef CONFIG_KVM >> 23 obj-y += kvm/ >> 24 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.