1 # SPDX-License-Identifier: GPL-2.0 !! 1 # Fail on warnings - also for files referenced in subdirs 2 obj-y += kernel/ !! 2 # -Werror can be disabled for specific files using: 3 obj-y += mm/ !! 3 # CFLAGS_<file.o> := -Wno-error 4 obj-$(CONFIG_KVM) += kvm/ !! 4 ifeq ($(W),) 5 obj-y += crypto/ !! 5 subdir-ccflags-y := -Werror 6 obj-$(CONFIG_S390_HYPFS) += hypfs/ !! 6 endif 7 obj-$(CONFIG_APPLDATA_BASE) += appldata/ << 8 obj-y += net/ << 9 obj-$(CONFIG_PCI) += pci/ << 10 obj-$(CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY) += << 11 7 12 # for cleaning !! 8 # platform specific definitions 13 subdir- += boot tools !! 9 include arch/mips/Kbuild.platforms >> 10 obj-y := $(platform-y) >> 11 >> 12 # make clean traverses $(obj-) without having included .config, so >> 13 # everything ends up here >> 14 obj- := $(platform-) >> 15 >> 16 # mips object files >> 17 # The object files are linked as core-y files would be linked >> 18 >> 19 obj-y += kernel/ >> 20 obj-y += mm/ >> 21 obj-y += net/ >> 22 obj-y += vdso/ >> 23 >> 24 ifdef CONFIG_KVM >> 25 obj-y += kvm/ >> 26 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.