summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-26 10:12:20 +0200
committerPaul Mundt <lethal@linux-sh.org>2009-05-26 10:12:20 +0200
commitf9e2b97dc2cf832ccceea2a2e6eccc4bc9af72cf (patch)
tree978df44d1b3ac1f65388e6713d87117a2e6ce0e3
parentsh: Record ms7724se in mach-types. (diff)
downloadlinux-f9e2b97dc2cf832ccceea2a2e6eccc4bc9af72cf.tar.xz
linux-f9e2b97dc2cf832ccceea2a2e6eccc4bc9af72cf.zip
sh: Add a KBUILD_DEFCONFIG for sh64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/Makefile19
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
defaultimage-$(CONFIG_SH_7619_SOLUTION_ENGINE) := vmlinux
# Set some sensible Kbuild defaults
-KBUILD_DEFCONFIG := shx3_defconfig
KBUILD_IMAGE := $(defaultimage-y)
#
@@ -90,15 +89,17 @@ KBUILD_IMAGE := $(defaultimage-y)
# error messages during linking.
#
ifdef CONFIG_SUPERH32
-UTS_MACHINE := sh
-BITS := 32
-LDFLAGS_vmlinux += -e _stext
+UTS_MACHINE := sh
+BITS := 32
+LDFLAGS_vmlinux += -e _stext
+KBUILD_DEFCONFIG := shx3_defconfig
else
-UTS_MACHINE := sh64
-BITS := 64
-LDFLAGS_vmlinux += --defsym phys_stext=_stext-$(CONFIG_PAGE_OFFSET) \
- --defsym phys_stext_shmedia=phys_stext+1 \
- -e phys_stext_shmedia
+UTS_MACHINE := sh64
+BITS := 64
+LDFLAGS_vmlinux += --defsym phys_stext=_stext-$(CONFIG_PAGE_OFFSET) \
+ --defsym phys_stext_shmedia=phys_stext+1 \
+ -e phys_stext_shmedia
+KBUILD_DEFCONFIG := cayman_defconfig
endif
ifneq ($(SUBARCH),$(ARCH))