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