OSDN Git Service

Move sh64 to its own config so we don't crap up the sh one..
authorPaul Mundt <lethal@linux-sh.org>
Mon, 2 May 2005 13:30:14 +0000 (13:30 -0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 2 May 2005 13:30:14 +0000 (13:30 -0000)
extra/Configs/Config.in
extra/Configs/Config.sh
extra/Configs/Config.sh64 [new file with mode: 0644]

index f90330a..66c9036 100644 (file)
@@ -58,6 +58,9 @@ config TARGET_powerpc
 config TARGET_sh
        bool "superh"
 
+config TARGET_sh64
+       bool "sh64"
+
 config TARGET_sparc
        bool "sparc"
 
@@ -136,6 +139,10 @@ if TARGET_sh
 source "extra/Configs/Config.sh"
 endif
 
+if TARGET_sh64
+source "extra/Configs/Config.sh64"
+endif
+
 if TARGET_sparc
 source "extra/Configs/Config.sparc"
 endif
index 9dffbc5..9309bb6 100644 (file)
@@ -4,8 +4,7 @@
 #
 
 config TARGET_ARCH
-       default "sh" if CONFIG_SH2A || CONFIG_SH2 || CONFIG_SH3 || CONFIG_SH4
-       default "sh64" if CONFIG_SH5
+       default "sh"
 
 config HAVE_ELF
        bool
@@ -42,10 +41,10 @@ choice
          that uClibc will work at all....
 
          Here are the available choices:
+         - "SH2A" Renesas SH-2A (SH7206)
          - "SH2" SuperH SH-2
          - "SH3" SuperH SH-3
          - "SH4" SuperH SH-4
-         - "SH5" SuperH SH-5 101, 103
 
 config CONFIG_SH2A
        select ARCH_HAS_NO_MMU
@@ -67,11 +66,5 @@ config CONFIG_SH4
        select FORCE_SHAREABLE_TEXT_SEGMENTS
        bool "SH4"
 
-config CONFIG_SH5
-       select ARCH_HAS_MMU
-       select UCLIBC_HAS_LFS
-       bool "SH5"
-
 endchoice
 
-
diff --git a/extra/Configs/Config.sh64 b/extra/Configs/Config.sh64
new file mode 100644 (file)
index 0000000..4bdaf9d
--- /dev/null
@@ -0,0 +1,52 @@
+#
+# For a description of the syntax of this configuration file,
+# see extra/config/Kconfig-language.txt
+#
+
+config TARGET_ARCH
+       default "sh64"
+
+config HAVE_ELF
+       bool
+       default y
+
+config ARCH_CFLAGS
+       string
+
+config ARCH_LDFLAGS
+       string
+
+config LIBGCC_CFLAGS
+       string
+
+config HAVE_DOT_HIDDEN
+        bool
+       default y
+
+config ARCH_SUPPORTS_BIG_ENDIAN
+       bool
+       default y
+
+config ARCH_SUPPORTS_LITTLE_ENDIAN
+       bool
+       default y
+
+choice
+       prompt "Target Processor Type"
+       default CONFIG_SH5
+       help
+         This is the processor type of your CPU. This information is used for
+         optimizing purposes, as well as to determine if your CPU has an MMU,
+         an FPU, etc.  If you pick the wrong CPU type, there is no guarantee
+         that uClibc will work at all....
+
+         Here are the available choices:
+         - "SH5" SuperH SH-5 101, 103
+
+config CONFIG_SH5
+       select ARCH_HAS_MMU
+       select UCLIBC_HAS_LFS
+       bool "SH5"
+
+endchoice
+