summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-01-27 13:55:00 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-01-27 13:55:00 +0000
commit4bf0263cf5498a0fc3b55324a8d2004b8fea072b (patch)
treef5c5572bd7bb61a31ce3b94cc41b7c80f793fab5
parent83a46ae9f3a38b16326dd1c63519575f3a56dc34 (diff)
cleanup toolchain version handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25148 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--toolchain/eglibc/Config.in4
-rw-r--r--toolchain/gcc/Config.in2
-rw-r--r--toolchain/gcc/Config.version11
-rw-r--r--toolchain/gcc/common.mk8
-rw-r--r--tools/Makefile6
5 files changed, 7 insertions, 24 deletions
diff --git a/toolchain/eglibc/Config.in b/toolchain/eglibc/Config.in
index 2ae8da3e85..62ed24da91 100644
--- a/toolchain/eglibc/Config.in
+++ b/toolchain/eglibc/Config.in
@@ -22,11 +22,11 @@ choice
config EGLIBC_VERSION_2_11
bool "eglibc 2.11"
- depends GCC_VERSION_4_3 || GCC_VERSION_4_4 || GCC_VERSION_4_5
+ depends !GCC_VERSION_LLVM
config EGLIBC_VERSION_2_12
bool "eglibc 2.12"
- depends GCC_VERSION_4_3 || GCC_VERSION_4_4 || GCC_VERSION_4_5
+ depends !GCC_VERSION_LLVM
config EGLIBC_VERSION_TRUNK
bool "eglibc trunk"
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index cd4f3e25e9..019cd164b7 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -78,7 +78,7 @@ config INSTALL_LIBSTDCPP
config INSTALL_LIBGCJ
bool
- depends on !GCC_VERSION_4_2
+ depends on !GCC_VERSION_LLVM
prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
default n
help
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index a39c0e88a9..fe1a7570ab 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -9,17 +9,6 @@ config GCC_VERSION
default "llvm" if GCC_VERSION_LLVM
default "4.5.1+l"
-config GCC_VERSION_4
- bool
- default y if GCC_VERSION_4_2
- default y if GCC_VERSION_4_3
- default y if GCC_VERSION_4_4
- default y if GCC_VERSION_4_5
-
-config GCC_VERSION_4_2
- bool
- default y if GCC_VERSION_LLVM
-
config GCC_VERSION_4_3
bool
default y if GCC_VERSION_4_3_3_CS
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk
index 4d0cafa409..977a104d00 100644
--- a/toolchain/gcc/common.mk
+++ b/toolchain/gcc/common.mk
@@ -48,12 +48,6 @@ else
PKG_SOURCE_URL:=@GNU/gcc/gcc-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
- ifeq ($(PKG_VERSION),4.1.2)
- PKG_MD5SUM:=a4a3eb15c96030906d8494959eeda23c
- endif
- ifeq ($(PKG_VERSION),4.2.4)
- PKG_MD5SUM:=d79f553e7916ea21c556329eacfeaa16
- endif
ifeq ($(PKG_VERSION),4.3.3)
PKG_MD5SUM:=cc3c5565fdb9ab87a05ddb106ba0bd1f
endif
@@ -126,7 +120,7 @@ ifneq ($(CONFIG_GCC_VERSION_4_4)$(CONFIG_GCC_VERSION_4_5),)
endif
endif
-ifneq ($(CONFIG_GCC_VERSION_4_3)$(CONFIG_GCC_VERSION_4_4)$(CONFIG_GCC_VERSION_4_5),)
+ifeq ($(CONFIG_GCC_LLVM),)
GCC_BUILD_TARGET_LIBGCC:=y
GCC_CONFIGURE+= \
--with-gmp=$(TOPDIR)/staging_dir/host \
diff --git a/tools/Makefile b/tools/Makefile
index 701393992e..d8e7bfd8ee 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -10,8 +10,8 @@ curdir:=tools
# subdirectories to descend into
tools-y :=
-ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
-tools-$(CONFIG_GCC_VERSION_4_3)$(CONFIG_GCC_VERSION_4_4)$(CONFIG_GCC_VERSION_4_5) += gmp mpfr
+ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN)$(CONFIG_GCC_LLVM),)
+tools-y += gmp mpfr
tools-$(CONFIG_GCC_VERSION_4_5) += mpc libelf
endif
tools-y += m4 libtool autoconf automake flex bison pkg-config sed mklibs
@@ -107,5 +107,5 @@ $(curdir)//compile = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $($(
$(curdir)/ := .config prereq
$(curdir)//install = $(1)/compile
-$(eval $(call stampfile,$(curdir),tools,install,,CONFIG_CCACHE CONFIG_powerpc CONFIG_GCC_VERSION_4_3 CONFIG_GCC_USE_GRAPHITE CONFIG_TARGET_orion_generic))
+$(eval $(call stampfile,$(curdir),tools,install,,CONFIG_CCACHE CONFIG_powerpc CONFIG_GCC_VERSION_4_5 CONFIG_GCC_USE_GRAPHITE CONFIG_TARGET_orion_generic))
$(eval $(call subdir,$(curdir)))