Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/gcc

Buildroot jacmet at uclibc.org 3 participants 4 messages Jun 18, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-06-18 08:42:50 -0700 (Wed, 18 Jun 2008) New Revision: 22428

Log:
toolchain/gcc: use depends on instead of depends

Modified:
trunk/buildroot/toolchain/gcc/Config.in
trunk/buildroot/toolchain/gcc/Config.in.2

Changeset:
Modified: trunk/buildroot/toolchain/gcc/Config.in
===================================================================

buildroot/toolchain/gcc/Config.in +10 -11
@@ -14,37 +14,36 @@
 		bool "gcc 3.4.6"
 
 	config BR2_GCC_VERSION_4_0_4
-		depends !BR2_avr32 && !BR2_nios2
-		depends BR2_DEPRECATED
+		depends on !BR2_avr32 && !BR2_nios2
+		depends on BR2_DEPRECATED
 		bool "gcc 4.0.4"
 
 	config BR2_GCC_VERSION_4_1_2
-		depends !BR2_nios2
-		depends BR2_EXT_GCC_VERSION_4_1_2
+		depends on !BR2_nios2
+		depends on BR2_EXT_GCC_VERSION_4_1_2
 		bool "gcc 4.1.2"
 
 	config BR2_GCC_VERSION_4_2_1
-		depends !BR2_nios2
-		depends BR2_EXT_GCC_VERSION_4_2_1
+		depends on !BR2_nios2
+		depends on BR2_EXT_GCC_VERSION_4_2_1
 		bool "gcc 4.2.1"
 
 	config BR2_GCC_VERSION_4_2_3
-		depends !BR2_nios2 && !BR2_avr32
+		depends on !BR2_avr32 && !BR2_nios2
 		bool "gcc 4.2.3"
 
 	config BR2_GCC_VERSION_4_2_4
-		depends !BR2_nios2 && !BR2_avr32
+		depends on !BR2_avr32 && !BR2_nios2
 		bool "gcc 4.2.4"
 
 #	config BR2_GCC_VERSION_4_3
 #		depends !BR2_avr32 && !BR2_nios2
 #		select BR2_GCC_IS_SNAP
 #		bool "gcc 4.3"
-
 endchoice
 
 config BR2_GCC_IS_SNAP
-	depends !BR2_avr32
+	depends on !BR2_avr32
 	bool
 	default n
 
@@ -61,7 +60,7 @@
 config BR2_GCC_SNAP_DATE
 	string "GCC snapshot date"
 	default "20070921"
-	depends BR2_GCC_IS_SNAP
+	depends on BR2_GCC_IS_SNAP
 	help
 	  Enter snapshot date to use for gcc.  Format is:
 	  YYYYMMDD

Modified: trunk/buildroot/toolchain/gcc/Config.in.2
===================================================================

buildroot/toolchain/gcc/Config.in.2 +1 -1
@@ -8,7 +8,7 @@
 config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
 	string "Additional target gcc options"
 	default ""
-	depends BR2_PACKAGE_GCC_TARGET
+	depends on BR2_PACKAGE_GCC_TARGET
 	help
 	  Any additional target gcc options you may want to include....
 	  Including, but not limited to --disable-checking etc.
#1 lore raw

buildroot/toolchain/gcc/Config.in line 19

Quoted 6 lines
       config BR2_GCC_VERSION_4_0_4
buildroot/toolchain/gcc/Config.in +2 -2
-               depends !BR2_avr32 && !BR2_nios2
-               depends BR2_DEPRECATED
+               depends on !BR2_avr32 && !BR2_nios2
+               depends on BR2_DEPRECATED
               bool "gcc 4.0.4"

Hi Peter,

I'm not familiar with the kconfig details.
Is there a difference between depends and depends on? Or is it
just syntax sugar?

Cheers,
Thiago A. Correa

#2 lore raw
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thiago" == Thiago A Corr?a <[email protected]> writes:

config BR2_GCC_VERSION_4_0_4

buildroot/toolchain/gcc/Config.in +2 -2
-               depends !BR2_avr32 && !BR2_nios2
-               depends BR2_DEPRECATED
+               depends on !BR2_avr32 && !BR2_nios2
+               depends on BR2_DEPRECATED

bool "gcc 4.0.4"

Thiago> Hi Peter,

Thiago> I'm not familiar with the kconfig details. Is there a
Thiago> difference between depends and depends on? Or is it just Thiago> syntax sugar?

According to Documentation/kbuild/kconfig-language.txt in the kernel sources, the correct syntax is 'depends on', we were just lucky that the Kconfig parser was forgiving on this.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw
Quoted 11 lines · Peter Korsgaard
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thiago" == Thiago A Corr?a <[email protected]> writes:

config BR2_GCC_VERSION_4_0_4

buildroot/toolchain/gcc/Config.in +2 -2
-               depends !BR2_avr32 && !BR2_nios2
-               depends BR2_DEPRECATED
+               depends on !BR2_avr32 && !BR2_nios2
+               depends on BR2_DEPRECATED

bool "gcc 4.0.4"

Thiago> Hi Peter,

Quoted 7 lines

Thiago> I'm not familiar with the kconfig details. Is there a
Thiago> difference between depends and depends on? Or is it just Thiago> syntax sugar?

According to Documentation/kbuild/kconfig-language.txt in the kernel sources, the correct syntax is 'depends on', we were just lucky that the Kconfig parser was forgiving on this.

ACK. If you guys ever update to visualise "selects" et al better then all of them need fixing. Needless to say that the git repo ( http://repo.or.cz/w/buildroot ) already has all this..