aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-12-14 07:57:22 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-12-14 07:57:22 +0000
commitdcaba4757f21e3a6c01feab21938ec67e5fd1481 (patch)
treec68c1000805ffba37a235ebee8a6a9278417a7f5 /toolchain/gcc
parent7a8254a581a732b948c12b058b923f5612ed6481 (diff)
downloadmaster-187ad058-dcaba4757f21e3a6c01feab21938ec67e5fd1481.tar.gz
master-187ad058-dcaba4757f21e3a6c01feab21938ec67e5fd1481.tar.bz2
master-187ad058-dcaba4757f21e3a6c01feab21938ec67e5fd1481.zip
add plemininary ultrasparc support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24558 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Config.in1
-rw-r--r--toolchain/gcc/Config.version3
-rw-r--r--toolchain/gcc/common.mk4
3 files changed, 8 insertions, 0 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 56416bd162..ed8002ced3 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 9229122ba4..1c887d257c 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 59010b5861..89c5218621 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