diff options
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/Config.in | 1 | ||||
-rw-r--r-- | toolchain/gcc/Config.in | 1 | ||||
-rw-r--r-- | toolchain/gcc/Config.version | 3 | ||||
-rw-r--r-- | toolchain/gcc/common.mk | 4 | ||||
-rw-r--r-- | toolchain/uClibc/config-0.9.30.1/sparc | 8 | ||||
-rw-r--r-- | toolchain/uClibc/config-0.9.31/sparc | 8 | ||||
-rw-r--r-- | toolchain/uClibc/config-0.9.32/sparc | 8 |
7 files changed, 33 insertions, 0 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in index aaf4f47..a826ff5 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -98,6 +98,7 @@ config EABI_SUPPORT menuconfig EXTRA_TARGET_ARCH bool prompt "Enable an extra toolchain target architecture" if TOOLCHAINOPTS + depends !sparc default y if powerpc64 default n help diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index 56416bd..ed8002c 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -8,6 +8,7 @@ choice default GCC_VERSION_4_3_3_CS if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte) default GCC_VERSION_4_4_5 if (powerpc || ubicom32) default GCC_VERSION_4_4_5 if (TARGET_omap35xx || TARGET_octeon || TARGET_sibyte) + default GCC_VERSION_4_5_1_LINARO if sparc default GCC_VERSION_4_1_2 help Select the version of gcc you wish to use. diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version index 9229122..1c887d2 100644 --- a/toolchain/gcc/Config.version +++ b/toolchain/gcc/Config.version @@ -61,4 +61,7 @@ if !TOOLCHAINOPTS default y if powerpc default y if ubicom32 + config GCC_VERSION_4_5_1_LINARO + default y if sparc + endif diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 59010b5..89c5218 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -154,6 +154,10 @@ ifneq ($(CONFIG_EXTRA_TARGET_ARCH),) --enable-targets=$(call qstrip,$(CONFIG_EXTRA_TARGET_ARCH_NAME))-linux-$(TARGET_SUFFIX) endif +ifdef CONFIG_sparc + GCC_CONFIGURE+= --enable-targets=all +endif + ifeq ($(LIBC),uClibc) GCC_CONFIGURE+= \ --disable-__cxa_atexit diff --git a/toolchain/uClibc/config-0.9.30.1/sparc b/toolchain/uClibc/config-0.9.30.1/sparc new file mode 100644 index 0000000..e1596c4 --- /dev/null +++ b/toolchain/uClibc/config-0.9.30.1/sparc @@ -0,0 +1,8 @@ +ARCH_BIG_ENDIAN=y +# CONFIG_SPARC_V7 is not set +# CONFIG_SPARC_V8 is not set +CONFIG_SPARC_V9=y +# CONFIG_SPARC_V9B is not set +TARGET_ARCH="sparc" +TARGET_sparc=y +UCLIBC_HAS_LONG_DOUBLE_MATH=y diff --git a/toolchain/uClibc/config-0.9.31/sparc b/toolchain/uClibc/config-0.9.31/sparc new file mode 100644 index 0000000..e1596c4 --- /dev/null +++ b/toolchain/uClibc/config-0.9.31/sparc @@ -0,0 +1,8 @@ +ARCH_BIG_ENDIAN=y +# CONFIG_SPARC_V7 is not set +# CONFIG_SPARC_V8 is not set +CONFIG_SPARC_V9=y +# CONFIG_SPARC_V9B is not set +TARGET_ARCH="sparc" +TARGET_sparc=y +UCLIBC_HAS_LONG_DOUBLE_MATH=y diff --git a/toolchain/uClibc/config-0.9.32/sparc b/toolchain/uClibc/config-0.9.32/sparc new file mode 100644 index 0000000..e1596c4 --- /dev/null +++ b/toolchain/uClibc/config-0.9.32/sparc @@ -0,0 +1,8 @@ +ARCH_BIG_ENDIAN=y +# CONFIG_SPARC_V7 is not set +# CONFIG_SPARC_V8 is not set +CONFIG_SPARC_V9=y +# CONFIG_SPARC_V9B is not set +TARGET_ARCH="sparc" +TARGET_sparc=y +UCLIBC_HAS_LONG_DOUBLE_MATH=y |