mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-29 14:34:05 +02:00
fix pesky libgcc issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3420 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
97c3fc5248
commit
a09d8157a6
@ -6,6 +6,10 @@ if CONFIG_DEVEL
|
|||||||
comment "Gcc Options"
|
comment "Gcc Options"
|
||||||
endif
|
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
|
config BR2_GCC_VERSION_3_4_4
|
||||||
bool
|
bool
|
||||||
default y if BR2_LINUX_2_4_BRCM
|
default y if BR2_LINUX_2_4_BRCM
|
||||||
@ -22,6 +26,7 @@ choice
|
|||||||
help
|
help
|
||||||
Select the version of gcc you wish to use.
|
Select the version of gcc you wish to use.
|
||||||
|
|
||||||
|
|
||||||
config BR2_GCC_VERSION_3_4_4
|
config BR2_GCC_VERSION_3_4_4
|
||||||
bool "gcc 3.4.4"
|
bool "gcc 3.4.4"
|
||||||
|
|
||||||
@ -33,14 +38,19 @@ choice
|
|||||||
|
|
||||||
config BR2_GCC_VERSION_4_0_2
|
config BR2_GCC_VERSION_4_0_2
|
||||||
bool "gcc 4.0.2"
|
bool "gcc 4.0.2"
|
||||||
select BR2_PACKAGE_LIBGCC
|
|
||||||
|
|
||||||
config BR2_GCC_VERSION_4_1_0
|
config BR2_GCC_VERSION_4_1_0
|
||||||
bool "gcc 4.1.0"
|
bool "gcc 4.1.0"
|
||||||
select BR2_PACKAGE_LIBGCC
|
|
||||||
|
|
||||||
endchoice
|
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
|
config BR2_GCC_VERSION
|
||||||
string
|
string
|
||||||
default "3.4.4" if BR2_GCC_VERSION_3_4_4
|
default "3.4.4" if BR2_GCC_VERSION_3_4_4
|
||||||
|
Loading…
Reference in New Issue
Block a user