1 # SPDX-License-Identifier: GPL-2.0 !! 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 ifeq ($(W),) >> 5 subdir-ccflags-y := -Werror >> 6 endif 2 7 3 # platform specific definitions 8 # platform specific definitions 4 include $(srctree)/arch/mips/Kbuild.platforms !! 9 include arch/mips/Kbuild.platforms 5 obj-y := $(platform-y) 10 obj-y := $(platform-y) 6 11 7 # make clean traverses $(obj-) without having 12 # make clean traverses $(obj-) without having included .config, so 8 # everything ends up here 13 # everything ends up here 9 obj- := $(platform-y) !! 14 obj- := $(platform-) 10 15 11 # mips object files 16 # mips object files 12 # The object files are linked as core-y files 17 # The object files are linked as core-y files would be linked 13 18 14 obj-y += generic/ << 15 obj-y += kernel/ 19 obj-y += kernel/ 16 obj-y += mm/ 20 obj-y += mm/ 17 obj-y += net/ 21 obj-y += net/ 18 obj-y += vdso/ 22 obj-y += vdso/ 19 23 20 ifdef CONFIG_KVM 24 ifdef CONFIG_KVM 21 obj-y += kvm/ 25 obj-y += kvm/ 22 endif 26 endif 23 << 24 # for cleaning << 25 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.