diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-12-13 17:27:41 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-12-13 22:04:35 +0100 |
commit | 6b578c8d73b6403e3be8bddf611fb1059d7c2f4b (patch) | |
tree | de57da65f9460e3c9edb0599a859809384452580 /package | |
parent | 01b434b27a24652cf1ad2d77aeba8f55bac61e1c (diff) | |
download | buildroot-novena-6b578c8d73b6403e3be8bddf611fb1059d7c2f4b.tar.gz buildroot-novena-6b578c8d73b6403e3be8bddf611fb1059d7c2f4b.zip |
toolchain: rework C++ options
Instead of having BR2_GCC_CROSS_CXX and BR2_INSTALL_LIBSTDCPP, with
BR2_GCC_CROSS_CXX not being visible (and therefore being useless),
let's just keep BR2_INSTALL_LIBSTDCPP to enable C++ in the toolchain
and install C++ libraries on the target.
We also take that opportunity to make BR2_INSTALL_LIBSTDCPP an hidden
option, which is selected by an option in Buildroot toolchain support
or an option in External toolchain support, just as we did for other
toolchain features.
Some work definitely remains to be done :
- The name BR2_INSTALL_LIBSTDCPP is ugly, but we keep it for the
moment in order to avoid changing all packages.
- We should clarify the other language-related options (Fortran,
Java, Objective-C, etc.).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r-- | package/Makefile.in | 2 | ||||
-rw-r--r-- | package/lzma/Config.in | 4 | ||||
-rw-r--r-- | package/rpm/Config.in | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/package/Makefile.in b/package/Makefile.in index 36bd59f37..71c8dbc86 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -307,7 +307,7 @@ ifneq ($(BR2_INET_IPV6),y) DISABLE_IPV6= --disable-ipv6 endif -ifneq ($(BR2_GCC_CROSS_CXX),y) +ifneq ($(BR2_INSTALL_LIBSTDCPP),y) TARGET_CONFIGURE_OPTS+=CXX=false endif diff --git a/package/lzma/Config.in b/package/lzma/Config.in index 4904721ae..2b94dde6b 100644 --- a/package/lzma/Config.in +++ b/package/lzma/Config.in @@ -1,6 +1,6 @@ config BR2_PACKAGE_LZMA bool "lzma" - depends on BR2_GCC_CROSS_CXX + depends on BR2_INSTALL_LIBSTDCPP depends on BR2_DEPRECATED help Lempel Ziv compression method (LZMA) is a compression @@ -9,4 +9,4 @@ config BR2_PACKAGE_LZMA http://tukaani.org/lzma/ comment "lzma requires a toolchain with C++ support" - depends on !BR2_GCC_CROSS_CXX && BR2_DEPRECATED + depends on !BR2_INSTALL_LIBSTDCPP && BR2_DEPRECATED diff --git a/package/rpm/Config.in b/package/rpm/Config.in index 448606c33..8d4c6a3ba 100644 --- a/package/rpm/Config.in +++ b/package/rpm/Config.in @@ -25,11 +25,11 @@ config BR2_PACKAGE_RPM_BZIP2_PAYLOADS config BR2_PACKAGE_RPM_XZ_PAYLOADS bool "support for xz payloads" depends on BR2_PACKAGE_RPM - depends on BR2_GCC_CROSS_CXX + depends on BR2_INSTALL_LIBSTDCPP help Support for xz payloads in RPM. comment "xz payload support requires a toolchain with c++ support" - depends on !BR2_GCC_CROSS_CXX + depends on !BR2_INSTALL_LIBSTDCPP |