Makefile (98817a84ff1c755c347ac633ff017a623a631fad) | Makefile (893ab00439a45513cae55781fc8e3b7108ee1cda) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# 3# linux/arch/arm/boot/compressed/Makefile 4# 5# create a compressed vmlinuz image from the original vmlinux 6# 7 8OBJS = --- 70 unchanged lines hidden (view full) --- 79libfdt_objs := fdt_rw.o fdt_ro.o fdt_wip.o fdt.o 80 81ifeq ($(CONFIG_ARM_ATAG_DTB_COMPAT),y) 82OBJS += $(libfdt_objs) atags_to_fdt.o 83endif 84 85# -fstack-protector-strong triggers protection checks in this code, 86# but it is being used too early to link to meaningful stack_chk logic. | 1# SPDX-License-Identifier: GPL-2.0 2# 3# linux/arch/arm/boot/compressed/Makefile 4# 5# create a compressed vmlinuz image from the original vmlinux 6# 7 8OBJS = --- 70 unchanged lines hidden (view full) --- 79libfdt_objs := fdt_rw.o fdt_ro.o fdt_wip.o fdt.o 80 81ifeq ($(CONFIG_ARM_ATAG_DTB_COMPAT),y) 82OBJS += $(libfdt_objs) atags_to_fdt.o 83endif 84 85# -fstack-protector-strong triggers protection checks in this code, 86# but it is being used too early to link to meaningful stack_chk logic. |
87nossp-flags-$(CONFIG_CC_HAS_STACKPROTECTOR_NONE) := -fno-stack-protector | |
88$(foreach o, $(libfdt_objs) atags_to_fdt.o, \ | 87$(foreach o, $(libfdt_objs) atags_to_fdt.o, \ |
89 $(eval CFLAGS_$(o) := -I $(srctree)/scripts/dtc/libfdt $(nossp-flags-y))) | 88 $(eval CFLAGS_$(o) := -I $(srctree)/scripts/dtc/libfdt -fno-stack-protector)) |
90 91# These were previously generated C files. When you are building the kernel 92# with O=, make sure to remove the stale files in the output tree. Otherwise, 93# the build system wrongly compiles the stale ones. 94ifdef building_out_of_srctree 95$(shell rm -f $(addprefix $(obj)/, fdt_rw.c fdt_ro.c fdt_wip.c fdt.c)) 96endif 97 --- 97 unchanged lines hidden --- | 89 90# These were previously generated C files. When you are building the kernel 91# with O=, make sure to remove the stale files in the output tree. Otherwise, 92# the build system wrongly compiles the stale ones. 93ifdef building_out_of_srctree 94$(shell rm -f $(addprefix $(obj)/, fdt_rw.c fdt_ro.c fdt_wip.c fdt.c)) 95endif 96 --- 97 unchanged lines hidden --- |