diff options
author | David S. Miller <davem@davemloft.net> | 2009-03-26 18:23:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-26 18:23:24 -0400 |
commit | 08abe18af1f78ee80c3c3a5ac47c3e0ae0beadf6 (patch) | |
tree | 2be39bf8942edca1bcec735145e144a682ca9cd3 /arch/sh/boot/Makefile | |
parent | f0de70f8bb56952f6e016a65a8a8d006918f5bf6 (diff) | |
parent | 0384e2959127a56d0640505d004d8dd92f9c29f5 (diff) |
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
Conflicts:
drivers/net/wimax/i2400m/usb-notif.c
Diffstat (limited to 'arch/sh/boot/Makefile')
-rw-r--r-- | arch/sh/boot/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/arch/sh/boot/Makefile b/arch/sh/boot/Makefile index c16ccd4bfa16..95483d161258 100644 --- a/arch/sh/boot/Makefile +++ b/arch/sh/boot/Makefile | |||
@@ -33,20 +33,24 @@ $(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) | 36 | KERNEL_MEMORY := 0x00000000 |
37 | KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%08x" \ | 37 | ifeq ($(CONFIG_PMB_FIXED),y) |
38 | $$[$(CONFIG_PAGE_OFFSET) + \ | 38 | KERNEL_MEMORY := $(shell /bin/bash -c 'printf "0x%08x" \ |
39 | $(CONFIG_ZERO_PAGE_OFFSET)]') | 39 | $$[$(CONFIG_MEMORY_START) & 0x1fffffff]') |
40 | else | 40 | endif |
41 | ifeq ($(CONFIG_29BIT),y) | ||
42 | KERNEL_MEMORY := $(shell /bin/bash -c 'printf "0x%08x" \ | ||
43 | $$[$(CONFIG_MEMORY_START)]') | ||
44 | endif | ||
45 | |||
41 | KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%08x" \ | 46 | KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%08x" \ |
42 | $$[$(CONFIG_PAGE_OFFSET) + \ | 47 | $$[$(CONFIG_PAGE_OFFSET) + \ |
43 | $(CONFIG_MEMORY_START) + \ | 48 | $(KERNEL_MEMORY) + \ |
44 | $(CONFIG_ZERO_PAGE_OFFSET)]') | 49 | $(CONFIG_ZERO_PAGE_OFFSET)]') |
45 | endif | ||
46 | 50 | ||
47 | KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%08x" \ | 51 | KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%08x" \ |
48 | $$[$(CONFIG_PAGE_OFFSET) + \ | 52 | $$[$(CONFIG_PAGE_OFFSET) + \ |
49 | $(CONFIG_MEMORY_START) + \ | 53 | $(KERNEL_MEMORY) + \ |
50 | $(CONFIG_ZERO_PAGE_OFFSET) + $(CONFIG_ENTRY_OFFSET)]') | 54 | $(CONFIG_ZERO_PAGE_OFFSET) + $(CONFIG_ENTRY_OFFSET)]') |
51 | 55 | ||
52 | quiet_cmd_uimage = UIMAGE $@ | 56 | quiet_cmd_uimage = UIMAGE $@ |