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

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

119 lib1funcs.S ashldi3.S $(libfdt) $(libfdt_hdrs)
120
121ifeq ($(CONFIG_FUNCTION_TRACER),y)
122ORIG_CFLAGS := $(KBUILD_CFLAGS)
123KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
124endif
125
126ccflags-y := -fpic -mno-single-pic-base -fno-builtin -I$(obj)
1#
2# linux/arch/arm/boot/compressed/Makefile
3#
4# create a compressed vmlinuz image from the original vmlinux
5#
6
7OBJS =
8

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

119 lib1funcs.S ashldi3.S $(libfdt) $(libfdt_hdrs)
120
121ifeq ($(CONFIG_FUNCTION_TRACER),y)
122ORIG_CFLAGS := $(KBUILD_CFLAGS)
123KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
124endif
125
126ccflags-y := -fpic -mno-single-pic-base -fno-builtin -I$(obj)
127asflags-y := -Wa,-march=all -DZIMAGE
127asflags-y := -DZIMAGE
128
129# Supply kernel BSS size to the decompressor via a linker symbol.
130KBSS_SZ = $(shell $(CROSS_COMPILE)size $(obj)/../../../../vmlinux | \
131 awk 'END{print $$3}')
132LDFLAGS_vmlinux = --defsym _kernel_bss_size=$(KBSS_SZ)
133# Supply ZRELADDR to the decompressor via a linker symbol.
134ifneq ($(CONFIG_AUTO_ZRELADDR),y)
135LDFLAGS_vmlinux += --defsym zreladdr=$(ZRELADDR)

--- 66 unchanged lines hidden ---
128
129# Supply kernel BSS size to the decompressor via a linker symbol.
130KBSS_SZ = $(shell $(CROSS_COMPILE)size $(obj)/../../../../vmlinux | \
131 awk 'END{print $$3}')
132LDFLAGS_vmlinux = --defsym _kernel_bss_size=$(KBSS_SZ)
133# Supply ZRELADDR to the decompressor via a linker symbol.
134ifneq ($(CONFIG_AUTO_ZRELADDR),y)
135LDFLAGS_vmlinux += --defsym zreladdr=$(ZRELADDR)

--- 66 unchanged lines hidden ---