summaryrefslogtreecommitdiffstats
path: root/package/boost
diff options
context:
space:
mode:
Diffstat (limited to 'package/boost')
-rw-r--r--package/boost/Config.in10
-rw-r--r--package/boost/boost.mk2
2 files changed, 11 insertions, 1 deletions
diff --git a/package/boost/Config.in b/package/boost/Config.in
index add7069e33..92d59c2ec1 100644
--- a/package/boost/Config.in
+++ b/package/boost/Config.in
@@ -1,9 +1,15 @@
comment "boost needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+config BR2_PACKAGE_BOOST_ARCH_SUPPORTS
+ bool
+ default y if !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 && \
+ !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
+
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.
@@ -93,9 +99,13 @@ comment "boost-locale needs a toolchain w/ wchar"
config BR2_PACKAGE_BOOST_LOG
bool "boost-log"
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
+ # for some reason, uClibc on PowerPC fails to build the boost
+ # log module
+ depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
comment "boost-log needs a toolchain w/ NPTL"
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
+ depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
config BR2_PACKAGE_BOOST_MATH
bool "boost-math"
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index c658628ca8..dbb5de521f 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -148,7 +148,7 @@ define HOST_BOOST_INSTALL_CMDS
endef
define BOOST_INSTALL_STAGING_CMDS
- (cd $(@D) && ./bjam -j$(PARALLEL_JOBS) -d+1 \
+ (cd $(@D) && ./bjam -j$(PARALLEL_JOBS) -q -d+1 \
--user-config=$(@D)/user-config.jam \
$(BOOST_OPTS) \
--prefix=$(STAGING_DIR)/usr \
OpenPOWER on IntegriCloud