boost: remove BR2_PACKAGE_BOOST_ARCH_SUPPORTS option
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 17 May 2016 13:00:35 +0000 (15:00 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 17 May 2016 13:25:18 +0000 (15:25 +0200)
The BR2_PACKAGE_BOOST_ARCH_SUPPORTS option was originally added in
commit feeab03fa68a02733ae9382b7d47d9eb0d785188 to be able to disable
Boost on broken NIOSII CodeSourcery toolchains.

However, since then, the CodeSourcery toolchain has been updated, and
once the fenv problem is fixed, this NIOSII toolchain is capable of
building Boost.

Thanks to this we can completely get rid of the
BR2_PACKAGE_BOOST_ARCH_SUPPORTS symbol, from boost itself and from all
its reverse dependencies.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
14 files changed:
package/boost/Config.in
package/cc-tool/Config.in
package/gnuradio/Config.in
package/kodi/Config.in
package/libftdi/Config.in
package/libftdi1/Config.in
package/libserial/Config.in
package/mpd/Config.in
package/pulseview/Config.in
package/python-libconfig/Config.in
package/thrift/Config.in
package/valijson/Config.in
package/yaml-cpp/Config.in
package/zmqpp/Config.in

index ed67285a58e32e53264cd5fddc6260ef2eddb037..4cfd44eb941a469d3bcf6dd97f8501565b86a58e 100644 (file)
@@ -1,14 +1,9 @@
 comment "boost needs a toolchain w/ C++, threads, wchar"
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
 
-config BR2_PACKAGE_BOOST_ARCH_SUPPORTS
-       bool
-       default y if !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
-
 config BR2_PACKAGE_BOOST
        bool "boost"
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        # Boost could theorically be built with threading=single, but
        # that unfortunately doesn't work. Until someone fixes that,
        # let's depend on threads.
index f8e4531e26f78979ca309ada02002a3d1c405c14..b2cf97969b919f8fef3166c4dceabd028a9f4a61 100644 (file)
@@ -2,7 +2,6 @@ config BR2_PACKAGE_CC_TOOL
        bool "cc-tool"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on BR2_USE_WCHAR # boost-filesystem
        select BR2_PACKAGE_LIBUSB
        select BR2_PACKAGE_BOOST
@@ -19,5 +18,4 @@ config BR2_PACKAGE_CC_TOOL
          http://sourceforge.net/projects/cctool/
 
 comment "cc-tool needs a toolchain w/ C++, threads, wchar"
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
index 603532cf0c9672ad08aa050054dfe46f4f167971..b72ece50a8c7721ddd9f7d65a3ce81326c0abe3a 100644 (file)
@@ -1,6 +1,5 @@
 comment "gnuradio needs a toolchain w/ C++, NPTL, wchar, dynamic library"
        depends on BR2_USE_MMU
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
                !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
 
@@ -11,7 +10,6 @@ config BR2_PACKAGE_GNURADIO
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on BR2_USE_MMU # use fork()
        depends on BR2_USE_WCHAR # boost
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        select BR2_PACKAGE_BOOST
        select BR2_PACKAGE_BOOST_DATE_TIME
        select BR2_PACKAGE_BOOST_FILESYSTEM
index ff2e75cb2fe0cf9884acb415009fa5e0ae0bf9de..391b4d1d37d37a3cfb0f9866443c0a23162f4077 100644 (file)
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_KODI_ARCH_SUPPORTS
        bool
        default y if (BR2_arm || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) \
-               && BR2_PACKAGE_BOOST_ARCH_SUPPORTS \
                && BR2_TOOLCHAIN_HAS_SYNC_8
 
 comment "kodi needs a uClibc or (e)glibc toolchain w/ C++, threads, wchar, dynamic library, gcc >= 4.7, host gcc >= 4.6"
index 8e02cb914c5a4f5e12079653df56b684ddd8330e..beb42d34c5cdebd36d145e04bc51b6ad36e2bbd0 100644 (file)
@@ -13,14 +13,12 @@ if BR2_PACKAGE_LIBFTDI
 config BR2_PACKAGE_LIBTFDI_CPP
        bool "C++ bindings"
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on BR2_USE_WCHAR
        select BR2_PACKAGE_BOOST
        help
          C++ bindings for libftdi
 
 comment "libftdi C++ bindings need a toolchain w/ wchar, C++"
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
 
 endif # BR2_PACKAGE_LIBFTDI
index 61d4c1cf202df5f632a227f9acbac7f25ac595ca..aca797b62acffc8ae3a0a4f93af1fcc9c4c8582c 100644 (file)
@@ -14,14 +14,12 @@ config BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1
        select BR2_PACKAGE_BOOST
        depends on BR2_INSTALL_LIBSTDCPP # boost
        depends on BR2_TOOLCHAIN_HAS_THREADS # boost
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on BR2_USE_WCHAR # boost
        help
          C++ bindings for libftdi
 
 comment "libftdipp1 needs a toolchain w/ C++, wchar"
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
 
 config BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS
        bool "python bindings"
index df5d1b54327c78a204b5c598052661e9f4b9c792..bd936b93b8c4dd20df5f4a2fc7ba0a67b70b64d1 100644 (file)
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_LIBSERIAL
        bool "libserial"
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS # boost
        depends on BR2_TOOLCHAIN_HAS_THREADS # boost
        depends on BR2_USE_WCHAR # boost
        select BR2_PACKAGE_BOOST
@@ -12,5 +11,4 @@ config BR2_PACKAGE_LIBSERIAL
          http://libserial.sourceforge.net/
 
 comment "libserial needs a toolchain w/ C++, threads, wchar"
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
index 3ac806f74a39f2427e6688e4800474f019085fdd..4525a21869772d20e602705cf256400edbdf6521 100644 (file)
@@ -5,7 +5,6 @@ menuconfig BR2_PACKAGE_MPD
        depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
        depends on BR2_USE_MMU # libglib2
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on BR2_TOOLCHAIN_HAS_ATOMIC
        select BR2_PACKAGE_BOOST
        select BR2_PACKAGE_LIBGLIB2
@@ -312,7 +311,6 @@ endif
 
 comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 4.6"
        depends on BR2_USE_MMU
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on BR2_TOOLCHAIN_HAS_ATOMIC
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
                !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
index bbbfd7672eb0397f2f1629a6a2ad4b42777cf30d..46abe78f76976126c0402c1bff8b93002b81b11c 100644 (file)
@@ -15,7 +15,6 @@ config BR2_PACKAGE_PULSEVIEW
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        # libsigrok
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
        help
@@ -27,6 +26,5 @@ config BR2_PACKAGE_PULSEVIEW
 comment "pulseview needs a toolchain w/ wchar, threads, C++, gcc >= 4.8"
        depends on BR2_USE_MMU
        depends on BR2_PACKAGE_QT5
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR \
                || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
index b49aa268a8438993a72107f13e2e577022233630..7cc5f8a3cdfd6aeebdf14bb0c771c521f9d79f25 100644 (file)
@@ -1,5 +1,4 @@
 comment "python-libconfig needs a toolchain w/ C++, threads"
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_PYTHON_LIBCONFIG
@@ -9,7 +8,6 @@ config BR2_PACKAGE_PYTHON_LIBCONFIG
        select BR2_PACKAGE_LIBCONFIG
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        help
          Python bindings to the C++ library libconfig
 
index 54ca9b8538a584cb84d36d90d65f403fcf9e8f43..0ee3f000d7ddacefc9981530a0ab46a673e395ff 100644 (file)
@@ -3,7 +3,6 @@ config BR2_PACKAGE_THRIFT
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
        depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        select BR2_PACKAGE_BOOST
        select BR2_PACKAGE_LIBEVENT
        select BR2_PACKAGE_OPENSSL
@@ -19,6 +18,5 @@ config BR2_PACKAGE_THRIFT
          http://thrift.apache.org/
 
 comment "thrift needs a toolchain w/ C++, wchar, threads"
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on !BR2_USE_WCHAR || \
                !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
index 57dad66187ad2bb9aea69570a86c96d5bb25b91d..46993783a723967807ef896630b1badaa4f64a83 100644 (file)
@@ -3,7 +3,6 @@ config BR2_PACKAGE_VALIJSON
        depends on BR2_USE_WCHAR
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        select BR2_PACKAGE_BOOST
        select BR2_PACKAGE_BOOST_REGEX
        help
@@ -16,5 +15,4 @@ config BR2_PACKAGE_VALIJSON
         https://github.com/tristanpenman/valijson
 
 comment "valijson needs a toolchain w/ C++, threads, wchar  support"
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on !BR2_INSTALL_LIBSTDCPP  || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
index 3cfb955a5f74d8cf9d27708d01269519c3213a7f..c1ba410a6b2e226f454fddf2b802ff71abafff72 100644 (file)
@@ -2,7 +2,6 @@ config BR2_PACKAGE_YAML_CPP
        bool "yaml-cpp"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS # boost
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on BR2_USE_WCHAR # boost
        select BR2_PACKAGE_BOOST
        help
@@ -12,5 +11,4 @@ config BR2_PACKAGE_YAML_CPP
          https://code.google.com/p/yaml-cpp/
 
 comment "yaml-cpp needs a toolchain w/ C++, threads, wchar"
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
index 602425fc88cdfc956880430c538256a9891418da..67e89b379ea0a0d355ec921c4c73720ec5ccc0e9 100644 (file)
@@ -24,7 +24,6 @@ config BR2_PACKAGE_ZMQPP_CLIENT
        bool "zmqpp client"
        depends on !BR2_STATIC_LIBS
        depends on BR2_TOOLCHAIN_HAS_THREADS # boost
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        select BR2_PACKAGE_BOOST
        select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
        help
@@ -32,7 +31,6 @@ config BR2_PACKAGE_ZMQPP_CLIENT
          used to listen or send to zeromq sockets.
 
 comment "zmqpp client needs a toolchain w/ dynamic library, threads"
-       depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
        depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
 
 endif