diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-10 12:36:02 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-11-17 09:21:30 +0100 |
commit | 8fe6efa874c535d5e8cfa05f5837bff2018b07fc (patch) | |
tree | 5b45994f08dee6ba3c8f5f64fdef25a88eaa42ed | |
parent | cdbb04096b99eb317eabd2b55610cf4056928ee6 (diff) | |
download | buildroot-novena-8fe6efa874c535d5e8cfa05f5837bff2018b07fc.tar.gz buildroot-novena-8fe6efa874c535d5e8cfa05f5837bff2018b07fc.zip |
Deprecate the support for the toolchain on target
As discussed during the ELCE 2012 Buildroot Developers Meeting, we no
longer want to support the possibility of building a toolchain for the
target. None of the core developers have any use for this, it has been
known to be broken or cause problems for a long time without anyone
providing fixes for it.
In addition to this, Buildroot is inherently a cross-compilation tool,
so the usage of a native toolchain on the target is not really
useful. Many newcomers are tempted to use this possibility even though
it is clearly not the intended usage of Buildroot.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | Config.in | 4 | ||||
-rw-r--r-- | toolchain/gcc/Config.in.2 | 5 |
2 files changed, 6 insertions, 3 deletions
@@ -393,6 +393,8 @@ config BR2_PREFER_STATIC_LIB config BR2_HAVE_DOCUMENTATION bool "documentation on the target" + # We no longer want to support a toolchain on the target + depends on BR2_DEPRECATED help Install the documentation, including manual pages and info pages, on the target. @@ -401,6 +403,8 @@ config BR2_HAVE_DOCUMENTATION config BR2_HAVE_DEVFILES bool "development files in target filesystem" + # We no longer want to support a toolchain on the target + depends on BR2_DEPRECATED help Install headers and static libraries in the target filesystem diff --git a/toolchain/gcc/Config.in.2 b/toolchain/gcc/Config.in.2 index d060a80e0..c8a8cf63a 100644 --- a/toolchain/gcc/Config.in.2 +++ b/toolchain/gcc/Config.in.2 @@ -1,5 +1,7 @@ config BR2_PACKAGE_GCC_TARGET bool "gcc" + # We no longer want to support a toolchain on the target + depends on BR2_DEPRECATED depends on BR2_HAVE_DEVFILES && BR2_TOOLCHAIN_BUILDROOT select BR2_PACKAGE_BINUTILS select BR2_PACKAGE_BINUTILS_TARGET @@ -30,6 +32,3 @@ config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS Any additional target gcc options you may want to include.... Including, but not limited to --disable-checking etc. Refer to */configure in your gcc sources. - -comment "gcc needs development files in target filesystem" - depends on !BR2_HAVE_DEVFILES && BR2_TOOLCHAIN_BUILDROOT |