1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror !! 2 # Fail on warnings - also for files referenced in subdirs 3 subdir-asflags-$(CONFIG_PPC_WERROR) := -Wa,--f !! 3 # -Werror can be disabled for specific files using: >> 4 # CFLAGS_<file.o> := -Wno-error >> 5 ifeq ($(W),) >> 6 subdir-ccflags-y := -Werror >> 7 endif >> 8 >> 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-) >> 16 >> 17 # mips object files >> 18 # The object files are linked as core-y files would be linked 4 19 5 obj-y += kernel/ 20 obj-y += kernel/ 6 obj-y += mm/ 21 obj-y += mm/ 7 obj-y += lib/ << 8 obj-y += sysdev/ << 9 obj-y += platforms/ << 10 obj-y += math-emu/ << 11 obj-y += crypto/ << 12 obj-y += net/ 22 obj-y += net/ >> 23 obj-y += vdso/ 13 24 14 obj-$(CONFIG_XMON) += xmon/ !! 25 ifdef CONFIG_KVM 15 obj-$(CONFIG_KVM) += kvm/ !! 26 obj-y += kvm/ 16 !! 27 endif 17 obj-$(CONFIG_PERF_EVENTS) += perf/ << 18 obj-$(CONFIG_KEXEC_CORE) += kexec/ << 19 obj-$(CONFIG_KEXEC_FILE) += purgatory/ << 20 << 21 # for cleaning << 22 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.