Makefile (c7edd7f99cdaec65e9303b4c9edc19bb595564ed) | Makefile (8d9f49136770e8a49c4efd5a4a5b23f75fefaaea) |
---|---|
1# 2# linux/arch/arm/boot/compressed/Makefile 3# 4# create a compressed vmlinuz image from the original vmlinux 5# 6 7OBJS = 8 --- 92 unchanged lines hidden (view full) --- 101 102KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING 103 104ifeq ($(CONFIG_FUNCTION_TRACER),y) 105ORIG_CFLAGS := $(KBUILD_CFLAGS) 106KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) 107endif 108 | 1# 2# linux/arch/arm/boot/compressed/Makefile 3# 4# create a compressed vmlinuz image from the original vmlinux 5# 6 7OBJS = 8 --- 92 unchanged lines hidden (view full) --- 101 102KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING 103 104ifeq ($(CONFIG_FUNCTION_TRACER),y) 105ORIG_CFLAGS := $(KBUILD_CFLAGS) 106KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) 107endif 108 |
109# -fstack-protector-strong triggers protection checks in this code, 110# but it is being used too early to link to meaningful stack_chk logic. 111nossp_flags := $(call cc-option, -fno-stack-protector) 112CFLAGS_atags_to_fdt.o := $(nossp_flags) 113CFLAGS_fdt.o := $(nossp_flags) 114CFLAGS_fdt_ro.o := $(nossp_flags) 115CFLAGS_fdt_rw.o := $(nossp_flags) 116CFLAGS_fdt_wip.o := $(nossp_flags) 117 | |
118ccflags-y := -fpic -mno-single-pic-base -fno-builtin -I$(obj) 119asflags-y := -DZIMAGE 120 121# Supply kernel BSS size to the decompressor via a linker symbol. 122KBSS_SZ = $(shell $(CROSS_COMPILE)size $(obj)/../../../../vmlinux | \ 123 awk 'END{print $$3}') 124LDFLAGS_vmlinux = --defsym _kernel_bss_size=$(KBSS_SZ) 125# Supply ZRELADDR to the decompressor via a linker symbol. --- 76 unchanged lines hidden --- | 109ccflags-y := -fpic -mno-single-pic-base -fno-builtin -I$(obj) 110asflags-y := -DZIMAGE 111 112# Supply kernel BSS size to the decompressor via a linker symbol. 113KBSS_SZ = $(shell $(CROSS_COMPILE)size $(obj)/../../../../vmlinux | \ 114 awk 'END{print $$3}') 115LDFLAGS_vmlinux = --defsym _kernel_bss_size=$(KBSS_SZ) 116# Supply ZRELADDR to the decompressor via a linker symbol. --- 76 unchanged lines hidden --- |