Skip to contentSkip to conversation

svn commit: trunk/buildroot/target/device

Buildroot jacmet at uclibc.org 2 participants 3 messages Nov 14, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-11-14 02:06:44 -0800 (Fri, 14 Nov 2008) New Revision: 24037

Log:
target/Config.in.toolchain: cleanup

Modified:
trunk/buildroot/target/device/Config.in.toolchain

Changeset:
Modified: trunk/buildroot/target/device/Config.in.toolchain
===================================================================

buildroot/target/device/Config.in.toolchain +13 -15
@@ -156,35 +156,33 @@
 
 config	BR2_EXT_GCC_VERSION_4_1_2
 	bool
-	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE
+	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
 
 config	BR2_EXT_GCC_VERSION_4_2_1
 	bool
-	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE
+	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
 
 config	BR2_EXT_GCC_VERSION_4_2_2
 	bool
-	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE
+	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
 
 config	BR2_EXT_GCC_VERSION_4_2_3
 	bool
-	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE
+	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
 
 config	BR2_EXT_BINUTILS_VERSION_2_17
 	bool
-	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE
+	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
 
+config	BR2_EXT_UCLIBC_VERSION_0_9_28_3
+	bool
+	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
+
 config	BR2_EXT_UCLIBC_VERSION_0_9_29
 	bool
-	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE
+	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
 
-config	BR2_EXT_UCLIBC_VERSION_0_9_28_3
+config	BR2_EXT_UCLIBC_VERSION_0_9_30
 	bool
-	default y if !BR2_TOOLCHAIN_EXTERNAL_SOURCE
-	default n if  BR2_TOOLCHAIN_EXTERNAL_SOURCE
+	default !BR2_TOOLCHAIN_EXTERNAL_SOURCE
+
#1 lore raw

Le Fri, 14 Nov 2008 02:06:45 -0800 (PST),
jacmet at uclibc.org a ?crit :

Quoted 2 lines

Modified:
trunk/buildroot/target/device/Config.in.toolchain

I don't really get what's all this toolchain-related stuff in target/device/. Even when using a binary external toolchain, all the BR2_EXT_GCC_VERSION_* variables are set:

BR2_EXT_GCC_VERSION_4_1_2=y
BR2_EXT_GCC_VERSION_4_2_1=y
BR2_EXT_GCC_VERSION_4_2_2=y
BR2_EXT_GCC_VERSION_4_2_3=y
BR2_EXT_BINUTILS_VERSION_2_17=y
BR2_EXT_UCLIBC_VERSION_0_9_29=y
BR2_EXT_UCLIBC_VERSION_0_9_28_3=y

which looks a bit odd to me, since Buildroot has absolutely no power over the version of the components used in an already compiled binary toolchain.

And why is all that stuff implemented in target/device/ and not in toolchain/ ?

Thanks,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hi,

Thomas> I don't really get what's all this toolchain-related stuff in Thomas> target/device/. Even when using a binary external toolchain, all the Thomas> BR2_EXT_GCC_VERSION_* variables are set:

Thomas> BR2_EXT_GCC_VERSION_4_1_2=y
Thomas> BR2_EXT_GCC_VERSION_4_2_1=y
Thomas> BR2_EXT_GCC_VERSION_4_2_2=y
Thomas> BR2_EXT_GCC_VERSION_4_2_3=y
Thomas> BR2_EXT_BINUTILS_VERSION_2_17=y
Thomas> BR2_EXT_UCLIBC_VERSION_0_9_29=y
Thomas> BR2_EXT_UCLIBC_VERSION_0_9_28_3=y

Thomas> which looks a bit odd to me, since Buildroot has absolutely no power Thomas> over the version of the components used in an already compiled binary Thomas> toolchain.

Thomas> And why is all that stuff implemented in target/device/ and not in Thomas> toolchain/ ?

I actually have no idea - I don't use the external toolchain stuff, but it looks like something related to the avr32 stuff.

I've just cleaned it up slightly in preparation for adding uclibc 0.9.30.

Signature · 1 line
Bye, Peter Korsgaard