Browse Source

allow people to select target sparc architecture

Mike Frysinger 19 years ago
parent
commit
cb7e38cfb8
1 changed files with 24 additions and 0 deletions
  1. 24 0
      extra/Configs/Config.sparc

+ 24 - 0
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