|
@@ -1,10 +1,14 @@
|
|
-comment "boost requires a toolchain with C++ and large file support enabled"
|
|
|
|
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE
|
|
|
|
|
|
+comment "boost requires a toolchain with C++, large file and thread support enabled"
|
|
|
|
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
|
|
config BR2_PACKAGE_BOOST
|
|
config BR2_PACKAGE_BOOST
|
|
bool "boost"
|
|
bool "boost"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_LARGEFILE
|
|
depends on BR2_LARGEFILE
|
|
|
|
+ # Boost could theorically be built with threading=single, but
|
|
|
|
+ # that unfortunately doesn't work. Until someone fixes that,
|
|
|
|
+ # let's depend on threads.
|
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
select BR2_PACKAGE_BZIP2
|
|
select BR2_PACKAGE_BZIP2
|
|
select BR2_PACKAGE_ZLIB
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
help
|
|
@@ -14,12 +18,6 @@ config BR2_PACKAGE_BOOST
|
|
|
|
|
|
if BR2_PACKAGE_BOOST
|
|
if BR2_PACKAGE_BOOST
|
|
|
|
|
|
-config BR2_PACKAGE_BOOST_MULTITHREADED
|
|
|
|
- depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
- bool "boost-multithreaded"
|
|
|
|
- help
|
|
|
|
- Build the boost libraries as multithreaded
|
|
|
|
-
|
|
|
|
config BR2_PACKAGE_BOOST_CHRONO
|
|
config BR2_PACKAGE_BOOST_CHRONO
|
|
bool "boost-chrono"
|
|
bool "boost-chrono"
|
|
|
|
|
|
@@ -76,7 +74,6 @@ config BR2_PACKAGE_BOOST_TEST
|
|
bool "boost-test"
|
|
bool "boost-test"
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_THREAD
|
|
config BR2_PACKAGE_BOOST_THREAD
|
|
- depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
bool "boost-thread"
|
|
bool "boost-thread"
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_TIMER
|
|
config BR2_PACKAGE_BOOST_TIMER
|