diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-26 04:12:20 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-26 04:12:20 -0400 |
commit | f9e2b97dc2cf832ccceea2a2e6eccc4bc9af72cf (patch) | |
tree | 978df44d1b3ac1f65388e6713d87117a2e6ce0e3 /arch/sh/Makefile | |
parent | 5b25ab29bad3114f798b136b4147f255a5d5742f (diff) |
sh: Add a KBUILD_DEFCONFIG for sh64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r-- | arch/sh/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index a47fbd260ba4..0fe35cff90f6 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -82,7 +82,6 @@ defaultimage-$(CONFIG_SH_7206_SOLUTION_ENGINE) := vmlinux | |||
82 | defaultimage-$(CONFIG_SH_7619_SOLUTION_ENGINE) := vmlinux | 82 | defaultimage-$(CONFIG_SH_7619_SOLUTION_ENGINE) := vmlinux |
83 | 83 | ||
84 | # Set some sensible Kbuild defaults | 84 | # Set some sensible Kbuild defaults |
85 | KBUILD_DEFCONFIG := shx3_defconfig | ||
86 | KBUILD_IMAGE := $(defaultimage-y) | 85 | KBUILD_IMAGE := $(defaultimage-y) |
87 | 86 | ||
88 | # | 87 | # |
@@ -90,15 +89,17 @@ KBUILD_IMAGE := $(defaultimage-y) | |||
90 | # error messages during linking. | 89 | # error messages during linking. |
91 | # | 90 | # |
92 | ifdef CONFIG_SUPERH32 | 91 | ifdef CONFIG_SUPERH32 |
93 | UTS_MACHINE := sh | 92 | UTS_MACHINE := sh |
94 | BITS := 32 | 93 | BITS := 32 |
95 | LDFLAGS_vmlinux += -e _stext | 94 | LDFLAGS_vmlinux += -e _stext |
95 | KBUILD_DEFCONFIG := shx3_defconfig | ||
96 | else | 96 | else |
97 | UTS_MACHINE := sh64 | 97 | UTS_MACHINE := sh64 |
98 | BITS := 64 | 98 | BITS := 64 |
99 | LDFLAGS_vmlinux += --defsym phys_stext=_stext-$(CONFIG_PAGE_OFFSET) \ | 99 | LDFLAGS_vmlinux += --defsym phys_stext=_stext-$(CONFIG_PAGE_OFFSET) \ |
100 | --defsym phys_stext_shmedia=phys_stext+1 \ | 100 | --defsym phys_stext_shmedia=phys_stext+1 \ |
101 | -e phys_stext_shmedia | 101 | -e phys_stext_shmedia |
102 | KBUILD_DEFCONFIG := cayman_defconfig | ||
102 | endif | 103 | endif |
103 | 104 | ||
104 | ifneq ($(SUBARCH),$(ARCH)) | 105 | ifneq ($(SUBARCH),$(ARCH)) |