|
@@ -52,6 +52,7 @@ config BR2_PACKAGE_BOOST_LAYOUT
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_ATOMIC
|
|
|
bool "boost-atomic"
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
|
|
help
|
|
|
C++11-style atomic<>.
|
|
|
|
|
@@ -82,6 +83,8 @@ config BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS
|
|
|
config BR2_PACKAGE_BOOST_CONTEXT
|
|
|
bool "boost-context"
|
|
|
depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \
|
|
|
+ || BR2_TOOLCHAIN_GCC_AT_LEAST_6 # boost-thread
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
|
|
select BR2_PACKAGE_BOOST_THREAD if !BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
|
|
help
|
|
@@ -101,6 +104,7 @@ comment "boost-contract needs a toolchain w/ NPTL"
|
|
|
config BR2_PACKAGE_BOOST_COROUTINE
|
|
|
bool "boost-coroutine"
|
|
|
depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context, boost-thread
|
|
|
select BR2_PACKAGE_BOOST_CHRONO
|
|
|
select BR2_PACKAGE_BOOST_CONTEXT
|
|
@@ -113,6 +117,7 @@ config BR2_PACKAGE_BOOST_COROUTINE
|
|
|
|
|
|
comment "boost-coroutine needs a toolchain not affected by GCC bug 64735"
|
|
|
depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_DATE_TIME
|
|
@@ -135,6 +140,8 @@ config BR2_PACKAGE_BOOST_FIBER
|
|
|
# mips support uses the "pause" instruction, only available
|
|
|
# since mips32r2/mips64r2.
|
|
|
depends on !BR2_MIPS_CPU_MIPS32 && !BR2_MIPS_CPU_MIPS64
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \
|
|
|
+ || BR2_TOOLCHAIN_GCC_AT_LEAST_6 # boost-context -> boost-thread
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context
|
|
|
select BR2_PACKAGE_BOOST_CONTEXT
|
|
|
select BR2_PACKAGE_BOOST_FILESYSTEM
|
|
@@ -144,10 +151,14 @@ config BR2_PACKAGE_BOOST_FIBER
|
|
|
|
|
|
comment "boost-fiber needs a toolchain w/ NPTL"
|
|
|
depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \
|
|
|
+ || BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
|
|
|
|
comment "boost-fiber needs a toolchain not affected by GCC bug 64735"
|
|
|
depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \
|
|
|
+ || BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_FILESYSTEM
|
|
@@ -190,6 +201,8 @@ config BR2_PACKAGE_BOOST_LOCALE
|
|
|
# details.
|
|
|
depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_ICU)
|
|
|
depends on !(BR2_TOOLCHAIN_HAS_GCC_BUG_64735 && BR2_PACKAGE_ICU) # boost-thread
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \
|
|
|
+ || !BR2_PACKAGE_ICU # boost-thread
|
|
|
select BR2_PACKAGE_BOOST_SYSTEM
|
|
|
select BR2_PACKAGE_BOOST_THREAD if BR2_PACKAGE_ICU
|
|
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
|
@@ -197,16 +210,19 @@ config BR2_PACKAGE_BOOST_LOCALE
|
|
|
Provide localization and Unicode handling tools for C++.
|
|
|
|
|
|
comment "boost-locale needs a toolchain w/ dynamic library"
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
|
|
depends on BR2_PACKAGE_ICU
|
|
|
depends on BR2_STATIC_LIBS
|
|
|
|
|
|
comment "boost-locale needs a toolchain not affected by GCC bug 64735"
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
|
|
depends on BR2_PACKAGE_ICU
|
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_LOG
|
|
|
bool "boost-log"
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread
|
|
|
select BR2_PACKAGE_BOOST_ATOMIC
|
|
|
select BR2_PACKAGE_BOOST_DATE_TIME
|
|
@@ -218,6 +234,7 @@ config BR2_PACKAGE_BOOST_LOG
|
|
|
Logging library.
|
|
|
|
|
|
comment "boost-log needs a toolchain w/ NPTL"
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
|
|
|
|
|
comment "boost-log needs a toolchain not affected by GCC bug 64735"
|
|
@@ -318,8 +335,8 @@ config BR2_PACKAGE_BOOST_TEST
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_THREAD
|
|
|
bool "boost-thread"
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::current_exception
|
|
|
- select BR2_PACKAGE_BOOST_ATOMIC if !BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
|
|
select BR2_PACKAGE_BOOST_CHRONO
|
|
|
select BR2_PACKAGE_BOOST_SYSTEM
|
|
|
help
|
|
@@ -337,6 +354,7 @@ config BR2_PACKAGE_BOOST_TIMER
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_TYPE_ERASURE
|
|
|
bool "boost-type_erasure"
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread
|
|
|
select BR2_PACKAGE_BOOST_SYSTEM
|
|
|
select BR2_PACKAGE_BOOST_THREAD
|
|
@@ -351,6 +369,7 @@ config BR2_PACKAGE_BOOST_WAVE
|
|
|
# limitation of assembler for coldfire
|
|
|
# error: Tried to convert PC relative branch to absolute jump
|
|
|
depends on !BR2_m68k_cf
|
|
|
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread
|
|
|
select BR2_PACKAGE_BOOST_DATE_TIME
|
|
|
select BR2_PACKAGE_BOOST_FILESYSTEM
|