diff options
author | Paul Mundt <lethal@linux-sh.org> | 2005-05-02 13:30:14 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2005-05-02 13:30:14 +0000 |
commit | d750e4b263ced6c132b15b8ed7452d563bffa7e5 (patch) | |
tree | 56b31e82f31043d1e9dd6b39b11b82067d3764e2 | |
parent | e8a91ad371ce69db303c27e46e25c6f12fc3cfdf (diff) |
Move sh64 to its own config so we don't crap up the sh one..
-rw-r--r-- | extra/Configs/Config.in | 7 | ||||
-rw-r--r-- | extra/Configs/Config.sh | 11 | ||||
-rw-r--r-- | extra/Configs/Config.sh64 | 52 |
3 files changed, 61 insertions, 9 deletions
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 + |