summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-25 23:07:48 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-25 23:07:48 +0000
commitcb7e38cfb8ccc4d57b61b92dc9e94d6bde383ceb (patch)
tree77be562a4c071b8d6b629980b72fefead1a197c3
parentaceb53ffab14d5333c7c2ac56d0a58473b2636e7 (diff)
allow people to select target sparc architecture
-rw-r--r--extra/Configs/Config.sparc24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/Configs/Config.sparc b/extra/Configs/Config.sparc
index e041d6cba..150ad0ac1 100644
--- a/extra/Configs/Config.sparc
+++ b/extra/Configs/Config.sparc
@@ -23,3 +23,27 @@ config ARCH_LDFLAGS
config LIBGCC_CFLAGS
string
+choice
+ prompt "Target Processor Type"
+ default CONFIG_SPARC_V8
+ help
+ This is the processor type of your CPU. This information is used for
+ optimizing purposes. Building for a v8 SPARC is pretty safe nowadays.
+
+ Warning: shared library support requires v8 or better, so building for
+ SPARC v7 will give you only static support.
+
+config CONFIG_SPARC_V7
+ select HAVE_NO_SHARED
+ bool "SPARC v7"
+
+config CONFIG_SPARC_V8
+ bool "SPARC v8"
+
+config CONFIG_SPARC_V9
+ bool "SPARC v9"
+
+config CONFIG_SPARC_V9B
+ bool "SPARC v9b"
+
+endchoice