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