Makefile (e11d57ca0b6dada29007ce3ad3db6c84034a768f) Makefile (d239b1dc093d551046a909920b5310c1d1e308c1)
1#
2# linux/arch/arm/boot/compressed/Makefile
3#
4# create a compressed vmlinuz image from the original vmlinux
5#
6
7AFLAGS_head.o += -DTEXT_OFFSET=$(TEXT_OFFSET)
8HEAD = head.o

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

78ifeq ($(CONFIG_FUNCTION_TRACER),y)
79ORIG_CFLAGS := $(KBUILD_CFLAGS)
80KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
81endif
82
83EXTRA_CFLAGS := -fpic -fno-builtin
84EXTRA_AFLAGS := -Wa,-march=all
85
1#
2# linux/arch/arm/boot/compressed/Makefile
3#
4# create a compressed vmlinuz image from the original vmlinux
5#
6
7AFLAGS_head.o += -DTEXT_OFFSET=$(TEXT_OFFSET)
8HEAD = head.o

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

78ifeq ($(CONFIG_FUNCTION_TRACER),y)
79ORIG_CFLAGS := $(KBUILD_CFLAGS)
80KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS))
81endif
82
83EXTRA_CFLAGS := -fpic -fno-builtin
84EXTRA_AFLAGS := -Wa,-march=all
85
86# Provide size of uncompressed kernel to the decompressor via a linker symbol.
87LDFLAGS_vmlinux := --defsym _image_size=$(shell stat -c "%s" $(obj)/../Image)
86# Supply ZRELADDR to the decompressor via a linker symbol.
87ifneq ($(CONFIG_AUTO_ZRELADDR),y)
88# Supply ZRELADDR to the decompressor via a linker symbol.
89ifneq ($(CONFIG_AUTO_ZRELADDR),y)
88LDFLAGS_vmlinux := --defsym zreladdr=$(ZRELADDR)
90LDFLAGS_vmlinux += --defsym zreladdr=$(ZRELADDR)
89endif
90ifeq ($(CONFIG_CPU_ENDIAN_BE8),y)
91LDFLAGS_vmlinux += --be8
92endif
93# ?
94LDFLAGS_vmlinux += -p
95# Report unresolved symbol references
96LDFLAGS_vmlinux += --no-undefined

--- 28 unchanged lines hidden ---
91endif
92ifeq ($(CONFIG_CPU_ENDIAN_BE8),y)
93LDFLAGS_vmlinux += --be8
94endif
95# ?
96LDFLAGS_vmlinux += -p
97# Report unresolved symbol references
98LDFLAGS_vmlinux += --no-undefined

--- 28 unchanged lines hidden ---