[uClibc-cvs] svn commit: trunk/uClibc/extra/Configs
lethal at uclibc.org
lethal at uclibc.org
Mon May 2 13:30:15 UTC 2005
Author: lethal
Date: 2005-05-02 07:30:14 -0600 (Mon, 02 May 2005)
New Revision: 10223
Log:
Move sh64 to its own config so we don't crap up the sh one..
Added:
trunk/uClibc/extra/Configs/Config.sh64
Modified:
trunk/uClibc/extra/Configs/Config.in
trunk/uClibc/extra/Configs/Config.sh
Changeset:
Modified: trunk/uClibc/extra/Configs/Config.in
===================================================================
--- trunk/uClibc/extra/Configs/Config.in 2005-05-02 13:21:50 UTC (rev 10222)
+++ trunk/uClibc/extra/Configs/Config.in 2005-05-02 13:30:14 UTC (rev 10223)
@@ -58,6 +58,9 @@
config TARGET_sh
bool "superh"
+config TARGET_sh64
+ bool "sh64"
+
config TARGET_sparc
bool "sparc"
@@ -136,6 +139,10 @@
source "extra/Configs/Config.sh"
endif
+if TARGET_sh64
+source "extra/Configs/Config.sh64"
+endif
+
if TARGET_sparc
source "extra/Configs/Config.sparc"
endif
Modified: trunk/uClibc/extra/Configs/Config.sh
===================================================================
--- trunk/uClibc/extra/Configs/Config.sh 2005-05-02 13:21:50 UTC (rev 10222)
+++ trunk/uClibc/extra/Configs/Config.sh 2005-05-02 13:30:14 UTC (rev 10223)
@@ -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 @@
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 @@
select FORCE_SHAREABLE_TEXT_SEGMENTS
bool "SH4"
-config CONFIG_SH5
- select ARCH_HAS_MMU
- select UCLIBC_HAS_LFS
- bool "SH5"
-
endchoice
-
Added: trunk/uClibc/extra/Configs/Config.sh64
===================================================================
--- trunk/uClibc/extra/Configs/Config.sh64 2005-05-02 13:21:50 UTC (rev 10222)
+++ trunk/uClibc/extra/Configs/Config.sh64 2005-05-02 13:30:14 UTC (rev 10223)
@@ -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
+
More information about the uClibc-cvs
mailing list