sh: Add a KBUILD_DEFCONFIG for sh64.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 26 May 2009 08:12:20 +0000 (17:12 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 26 May 2009 08:12:20 +0000 (17:12 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Makefile

index a47fbd260ba4ef42b5d1619a91e3f322d314a3d9..0fe35cff90f6b44de34858751f8abc8c48b5707b 100644 (file)
@@ -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))