diff options
Diffstat (limited to 'arch/sh/boot')
-rw-r--r-- | arch/sh/boot/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sh/boot/Makefile b/arch/sh/boot/Makefile index 5b54965eef98..c16ccd4bfa16 100644 --- a/arch/sh/boot/Makefile +++ b/arch/sh/boot/Makefile | |||
@@ -33,10 +33,16 @@ $(obj)/zImage: $(obj)/compressed/vmlinux FORCE | |||
33 | $(obj)/compressed/vmlinux: FORCE | 33 | $(obj)/compressed/vmlinux: FORCE |
34 | $(Q)$(MAKE) $(build)=$(obj)/compressed $@ | 34 | $(Q)$(MAKE) $(build)=$(obj)/compressed $@ |
35 | 35 | ||
36 | ifeq ($(CONFIG_32BIT),y) | ||
37 | KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%08x" \ | ||
38 | $$[$(CONFIG_PAGE_OFFSET) + \ | ||
39 | $(CONFIG_ZERO_PAGE_OFFSET)]') | ||
40 | else | ||
36 | KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%08x" \ | 41 | KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%08x" \ |
37 | $$[$(CONFIG_PAGE_OFFSET) + \ | 42 | $$[$(CONFIG_PAGE_OFFSET) + \ |
38 | $(CONFIG_MEMORY_START) + \ | 43 | $(CONFIG_MEMORY_START) + \ |
39 | $(CONFIG_ZERO_PAGE_OFFSET)]') | 44 | $(CONFIG_ZERO_PAGE_OFFSET)]') |
45 | endif | ||
40 | 46 | ||
41 | KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%08x" \ | 47 | KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%08x" \ |
42 | $$[$(CONFIG_PAGE_OFFSET) + \ | 48 | $$[$(CONFIG_PAGE_OFFSET) + \ |