From d750e4b263ced6c132b15b8ed7452d563bffa7e5 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Mon, 2 May 2005 13:30:14 +0000 Subject: Move sh64 to its own config so we don't crap up the sh one.. --- extra/Configs/Config.in | 7 +++++++ extra/Configs/Config.sh | 11 ++-------- extra/Configs/Config.sh64 | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 9 deletions(-) create mode 100644 extra/Configs/Config.sh64 (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index f90330abc..66c90365f 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -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 diff --git a/extra/Configs/Config.sh b/extra/Configs/Config.sh index 9dffbc508..9309bb6db 100644 --- a/extra/Configs/Config.sh +++ b/extra/Configs/Config.sh @@ -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 index 000000000..4bdaf9d06 --- /dev/null +++ b/extra/Configs/Config.sh64 @@ -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 + -- cgit v1.2.3