aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-03-20 21:24:57 +0000
committerMike Baker <mbm@openwrt.org>2006-03-20 21:24:57 +0000
commit108b1223d0aba4e20851cd2df144d17d9e0066a7 (patch)
tree3555de9ab50ad0380d8bae6933fa44eba6a78aac
parent065adf402d2decb18471224024790060495b01df (diff)
downloadupstream-108b1223d0aba4e20851cd2df144d17d9e0066a7.tar.gz
upstream-108b1223d0aba4e20851cd2df144d17d9e0066a7.tar.bz2
upstream-108b1223d0aba4e20851cd2df144d17d9e0066a7.zip
fix pesky libgcc issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3420 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/toolchain/gcc/Config.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/openwrt/toolchain/gcc/Config.in b/openwrt/toolchain/gcc/Config.in
index 58f91ddbab8..450ef6ebf18 100644
--- a/openwrt/toolchain/gcc/Config.in
+++ b/openwrt/toolchain/gcc/Config.in
@@ -6,6 +6,10 @@ if CONFIG_DEVEL
comment "Gcc Options"
endif
+
+# the choice option below is completely ignored
+# if CONFIG_DEVEL isn't set, so we have to set
+# these manually ... annoying.
config BR2_GCC_VERSION_3_4_4
bool
default y if BR2_LINUX_2_4_BRCM
@@ -22,6 +26,7 @@ choice
help
Select the version of gcc you wish to use.
+
config BR2_GCC_VERSION_3_4_4
bool "gcc 3.4.4"
@@ -33,14 +38,19 @@ choice
config BR2_GCC_VERSION_4_0_2
bool "gcc 4.0.2"
- select BR2_PACKAGE_LIBGCC
config BR2_GCC_VERSION_4_1_0
bool "gcc 4.1.0"
- select BR2_PACKAGE_LIBGCC
endchoice
+# more nasty hacks
+config BR2_PACKAGE_LIBGCC
+ tristate
+ default y if BR2_GCC_VERSION_4_0_2 || BR2_GCC_VERSION_4_1_0
+ default m if CONFIG_DEVEL
+ default n
+
config BR2_GCC_VERSION
string
default "3.4.4" if BR2_GCC_VERSION_3_4_4