diff options
Diffstat (limited to 'arch/arm/boot/compressed/Makefile')
-rw-r--r-- | arch/arm/boot/compressed/Makefile | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index 864a002137fe..7636c9b3f9a7 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile | |||
@@ -4,6 +4,7 @@ | |||
4 | # create a compressed vmlinuz image from the original vmlinux | 4 | # create a compressed vmlinuz image from the original vmlinux |
5 | # | 5 | # |
6 | 6 | ||
7 | AFLAGS_head.o += -DTEXT_OFFSET=$(TEXT_OFFSET) | ||
7 | HEAD = head.o | 8 | HEAD = head.o |
8 | OBJS = misc.o decompress.o | 9 | OBJS = misc.o decompress.o |
9 | FONTC = $(srctree)/drivers/video/console/font_acorn_8x8.c | 10 | FONTC = $(srctree)/drivers/video/console/font_acorn_8x8.c |
@@ -19,10 +20,6 @@ ifeq ($(CONFIG_ARCH_SHARK),y) | |||
19 | OBJS += head-shark.o ofw-shark.o | 20 | OBJS += head-shark.o ofw-shark.o |
20 | endif | 21 | endif |
21 | 22 | ||
22 | ifeq ($(CONFIG_ARCH_L7200),y) | ||
23 | OBJS += head-l7200.o | ||
24 | endif | ||
25 | |||
26 | ifeq ($(CONFIG_ARCH_P720T),y) | 23 | ifeq ($(CONFIG_ARCH_P720T),y) |
27 | # Borrow this code from SA1100 | 24 | # Borrow this code from SA1100 |
28 | OBJS += head-sa1100.o | 25 | OBJS += head-sa1100.o |
@@ -82,19 +79,9 @@ endif | |||
82 | EXTRA_CFLAGS := -fpic -fno-builtin | 79 | EXTRA_CFLAGS := -fpic -fno-builtin |
83 | EXTRA_AFLAGS := -Wa,-march=all | 80 | EXTRA_AFLAGS := -Wa,-march=all |
84 | 81 | ||
85 | # Supply ZRELADDR, INITRD_PHYS and PARAMS_PHYS to the decompressor via | ||
86 | # linker symbols. We only define initrd_phys and params_phys if the | ||
87 | # machine class defined the corresponding makefile variable. | ||
88 | LDFLAGS_vmlinux := --defsym zreladdr=$(ZRELADDR) | ||
89 | ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) | 82 | ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) |
90 | LDFLAGS_vmlinux += --be8 | 83 | LDFLAGS_vmlinux += --be8 |
91 | endif | 84 | endif |
92 | ifneq ($(INITRD_PHYS),) | ||
93 | LDFLAGS_vmlinux += --defsym initrd_phys=$(INITRD_PHYS) | ||
94 | endif | ||
95 | ifneq ($(PARAMS_PHYS),) | ||
96 | LDFLAGS_vmlinux += --defsym params_phys=$(PARAMS_PHYS) | ||
97 | endif | ||
98 | # ? | 85 | # ? |
99 | LDFLAGS_vmlinux += -p | 86 | LDFLAGS_vmlinux += -p |
100 | # Report unresolved symbol references | 87 | # Report unresolved symbol references |