Makefile (7e66eaf14e19c032433be7c4df3c892fa2a5282f) Makefile (5ffb04f6690d71fab241b3562ebf52b893ac4ff1)
1#
2# linux/arch/arm/boot/compressed/Makefile
3#
4# create a compressed vmlinuz image from the original vmlinux
5#
6
7OBJS =
8

--- 90 unchanged lines hidden (view full) ---

99ifeq ($(CONFIG_FUNCTION_TRACER),y)
100ORIG_CFLAGS := $(KBUILD_CFLAGS)
101KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
102endif
103
104ccflags-y := -fpic -fno-builtin
105asflags-y := -Wa,-march=all
106
1#
2# linux/arch/arm/boot/compressed/Makefile
3#
4# create a compressed vmlinuz image from the original vmlinux
5#
6
7OBJS =
8

--- 90 unchanged lines hidden (view full) ---

99ifeq ($(CONFIG_FUNCTION_TRACER),y)
100ORIG_CFLAGS := $(KBUILD_CFLAGS)
101KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
102endif
103
104ccflags-y := -fpic -fno-builtin
105asflags-y := -Wa,-march=all
106
107# Supply kernel BSS size to the decompressor via a linker symbol.
108KBSS_SZ = $(shell size $(obj)/../../../../vmlinux | awk 'END{print $$3}')
109LDFLAGS_vmlinux = --defsym _kernel_bss_size=$(KBSS_SZ)
107# Supply ZRELADDR to the decompressor via a linker symbol.
108ifneq ($(CONFIG_AUTO_ZRELADDR),y)
109LDFLAGS_vmlinux += --defsym zreladdr=$(ZRELADDR)
110endif
111ifeq ($(CONFIG_CPU_ENDIAN_BE8),y)
112LDFLAGS_vmlinux += --be8
113endif
114# ?

--- 44 unchanged lines hidden ---
110# Supply ZRELADDR to the decompressor via a linker symbol.
111ifneq ($(CONFIG_AUTO_ZRELADDR),y)
112LDFLAGS_vmlinux += --defsym zreladdr=$(ZRELADDR)
113endif
114ifeq ($(CONFIG_CPU_ENDIAN_BE8),y)
115LDFLAGS_vmlinux += --be8
116endif
117# ?

--- 44 unchanged lines hidden ---