aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/compressed/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
index 53faa9063a03..541944894734 100644
--- a/arch/arm/boot/compressed/Makefile
+++ b/arch/arm/boot/compressed/Makefile
@@ -79,16 +79,13 @@ endif
79EXTRA_CFLAGS := -fpic -fno-builtin 79EXTRA_CFLAGS := -fpic -fno-builtin
80EXTRA_AFLAGS := -Wa,-march=all 80EXTRA_AFLAGS := -Wa,-march=all
81 81
82# Supply ZRELADDR, INITRD_PHYS and PARAMS_PHYS to the decompressor via 82# Supply ZRELADDR and PARAMS_PHYS to the decompressor via linker symbols. We
83# linker symbols. We only define initrd_phys and params_phys if the 83# only define params_phys if the machine class defined the corresponding
84# machine class defined the corresponding makefile variable. 84# makefile variable.
85LDFLAGS_vmlinux := --defsym zreladdr=$(ZRELADDR) 85LDFLAGS_vmlinux := --defsym zreladdr=$(ZRELADDR)
86ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) 86ifeq ($(CONFIG_CPU_ENDIAN_BE8),y)
87LDFLAGS_vmlinux += --be8 87LDFLAGS_vmlinux += --be8
88endif 88endif
89ifneq ($(INITRD_PHYS),)
90LDFLAGS_vmlinux += --defsym initrd_phys=$(INITRD_PHYS)
91endif
92ifneq ($(PARAMS_PHYS),) 89ifneq ($(PARAMS_PHYS),)
93LDFLAGS_vmlinux += --defsym params_phys=$(PARAMS_PHYS) 90LDFLAGS_vmlinux += --defsym params_phys=$(PARAMS_PHYS)
94endif 91endif