Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/8] toolchain: reorganize target gcc options
@ 2011-04-13 16:29 Gustavo Zacarias
  2011-04-13 16:29 ` [Buildroot] [PATCH 2/8] toolchain: bump mpfr to version 3.0.1 Gustavo Zacarias
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Gustavo Zacarias @ 2011-04-13 16:29 UTC (permalink / raw)
  To: buildroot

* Move target gcc language selections to the package menu.
* Disable objc & fortran options unless target gcc is selected.
* Rename the "native toolchain" option to gcc.
* Disable target gcc unless we're using a buildroot toolchain.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 toolchain/gcc/Config.in   |   12 ------------
 toolchain/gcc/Config.in.2 |   20 ++++++++++++++++----
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 7a1905f..c975bb5 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -62,18 +62,6 @@ config BR2_EXTRA_GCC_CONFIG_OPTIONS
 	help
 	  Any additional gcc configure options you may want to include....
 
-config BR2_GCC_CROSS_OBJC
-	bool "Objective-C cross-compiler support"
-	depends on !BR2_avr32
-	help
-	  Build an Objective-C cross-compiler
-
-config BR2_GCC_CROSS_FORTRAN
-	bool "Fortran cross-compiler support"
-	depends on !BR2_avr32
-	help
-	  Build a Fortran cross-compiler
-
 config BR2_GCC_CROSS_JAVA
        bool
 
diff --git a/toolchain/gcc/Config.in.2 b/toolchain/gcc/Config.in.2
index 705506b..886e99b 100644
--- a/toolchain/gcc/Config.in.2
+++ b/toolchain/gcc/Config.in.2
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_GCC_TARGET
-	bool "native toolchain in the target filesystem"
-	depends on BR2_HAVE_DEVFILES
+	bool "gcc"
+	depends on BR2_HAVE_DEVFILES && BR2_TOOLCHAIN_BUILDROOT
 	select BR2_PACKAGE_BINUTILS
 	select BR2_PACKAGE_BINUTILS_TARGET
 	select BR2_PACKAGE_MPC if BR2_GCC_VERSION_4_5_X
@@ -10,6 +10,18 @@ config BR2_PACKAGE_GCC_TARGET
 	  If you want the target system to be able to run
 	  binutils/gcc and compile native code, say Y here.
 
+config BR2_GCC_CROSS_FORTRAN
+	bool "fortran support"
+	depends on !BR2_avr32 && BR2_PACKAGE_GCC_TARGET
+	help
+	  Build a Fortran compiler
+
+config BR2_GCC_CROSS_OBJC
+	bool "objective-c support"
+	depends on !BR2_avr32 && BR2_PACKAGE_GCC_TARGET
+	help
+	  Build an Objective-C compiler
+
 config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
 	string "Additional target gcc options"
 	default ""
@@ -19,5 +31,5 @@ config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
 	  Including, but not limited to --disable-checking etc.
 	  Refer to */configure in your gcc sources.
 
-comment "native toolchain needs development files in target filesystem"
-	depends on !BR2_HAVE_DEVFILES
+comment "gcc needs development files in target filesystem"
+	depends on !BR2_HAVE_DEVFILES && BR2_TOOLCHAIN_BUILDROOT
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-04-26 21:38 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-13 16:29 [Buildroot] [PATCH 1/8] toolchain: reorganize target gcc options Gustavo Zacarias
2011-04-13 16:29 ` [Buildroot] [PATCH 2/8] toolchain: bump mpfr to version 3.0.1 Gustavo Zacarias
2011-04-26 20:34   ` Peter Korsgaard
2011-04-13 16:29 ` [Buildroot] [PATCH 3/8] toolchain: bump mpc to version 0.9 Gustavo Zacarias
2011-04-26 20:35   ` Peter Korsgaard
2011-04-13 16:29 ` [Buildroot] [PATCH 4/8] toolchain: update uClibc snapshot config to avoid build stalls Gustavo Zacarias
2011-04-26 20:35   ` Peter Korsgaard
2011-04-13 16:29 ` [Buildroot] [PATCH 5/8] toolchain: add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31 Gustavo Zacarias
2011-04-26 20:37   ` Peter Korsgaard
2011-04-13 16:29 ` [Buildroot] [PATCH 6/8] toolchain: add inotify_init1 syscall " Gustavo Zacarias
2011-04-26 20:38   ` Peter Korsgaard
2011-04-13 16:29 ` [Buildroot] [PATCH 7/8] toolchain: make target gcc a working option Gustavo Zacarias
2011-04-26 20:43   ` Peter Korsgaard
2011-04-13 16:29 ` [Buildroot] [PATCH 8/8] toolchain: add gcc 4.6.0 Gustavo Zacarias
2011-04-26 21:38   ` Peter Korsgaard
2011-04-26 20:42 ` [Buildroot] [PATCH 1/8] toolchain: reorganize target gcc options Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox