summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-17 21:50:54 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-17 21:50:54 +0000
commitbe10c4a8c935671cca3064f556091dc247f5960a (patch)
tree3f36268be1e4c95f7624195588eb8f0a993e8c30
parent1dc51b258273325be9dd05434a726cfcfa719a41 (diff)
downloadbuildroot-novena-be10c4a8c935671cca3064f556091dc247f5960a.tar.gz
buildroot-novena-be10c4a8c935671cca3064f556091dc247f5960a.zip
- add v9a and v9b settings.
Will need to change the GCC_TARGET_TUNE accordingly.
-rw-r--r--Config.in9
-rw-r--r--package/Makefile.in6
2 files changed, 10 insertions, 5 deletions
diff --git a/Config.in b/Config.in
index 4ed8304cf..2e3018827 100644
--- a/Config.in
+++ b/Config.in
@@ -315,6 +315,8 @@ config BR2_sparc_tsc701
bool "tsc701"
config BR2_sparc_v9
bool "v9"
+config BR2_sparc_v9a
+ bool "v9a"
config BR2_sparc_v9b
bool "v9b"
config BR2_sparc_ultrasparc
@@ -334,6 +336,8 @@ choice
config BR2_sparc64_v9
bool "v9"
+config BR2_sparc64_v9a
+ bool "v9a"
config BR2_sparc64_v9b
bool "v9b"
config BR2_sparc64_ultrasparc
@@ -349,6 +353,7 @@ config BR2_SPARC_TYPE
default V7 if BR2_sparc_v7 || BR2_sparc_cypress || BR2_sparc_sparclite || BR2_sparc_f930 || BR2_sparc_f934 || BR2_sparc_sparclite86x || BR2_sparc_sparclet || BR2_sparc_tsc701
default V8 if BR2_sparc_v8 || BR2_sparc_supersparc || BR2_sparc_hypersparc
default V9 if BR2_sparc_v9 || BR2_sparc_ultrasparc || BR2_sparc_ultrasparc3 || BR2_sparc_niagara || BR2_sparc64_v9 || BR2_sparc64_ultrasparc || BR2_sparc64_ultrasparc3 || BR2_sparc64_niagara
+ default V9 if BR2_sparc_v9a || BR2_sparc64_v9a
default V9B if BR2_sparc_v9b || BR2_sparc64_v9b
choice
@@ -584,7 +589,9 @@ config BR2_GCC_TARGET_TUNE
default sparclite86x if BR2_sparc_sparclite86x
default sparclet if BR2_sparc_sparclet
default tsc701 if BR2_sparc_tsc701
- default v9 if BR2_sparc_v9 || BR2_sparc_v9b || BR2_sparc64_v9 || BR2_sparc64_v9b
+ default v9 if BR2_sparc_v9 || BR2_sparc64_v9
+ default v9 if BR2_sparc_v9a || BR2_sparc64_v9a
+ default v9 if BR2_sparc_v9b || BR2_sparc64_v9b
default ultrasparc if BR2_sparc_ultrasparc || BR2_sparc64_ultrasparc
default ultrasparc3 if BR2_sparc_ultrasparc3 || BR2_sparc64_ultrasparc3
default niagara if BR2_sparc_niagara || BR2_sparc64_niagara
diff --git a/package/Makefile.in b/package/Makefile.in
index df57304d1..17f3e9899 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -46,10 +46,8 @@ ifeq ($(BR2_SOFT_FLOAT),y)
TARGET_CFLAGS+=-msoft-float
endif
-ifeq ($(BR2_sparc_v9b),y)
-TARGET_CFLAGS+=-mvis
-endif
-ifeq ($(BR2_sparc64_v9b),y)
+# enable VIS for v9a and v9b
+ifeq ($(findstring y,$(BR2_sparc_v9a)$(BR2_sparc64_v9a)$(BR2_sparc_v9b)$(BR2_sparc64_v9b)),y)
TARGET_CFLAGS+=-mvis
endif