diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2015-12-05 15:00:23 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-12-05 15:37:50 +0100 |
commit | 27281af4bf969a943c81afcfbcd881728a3c1172 (patch) | |
tree | 4bb4848ae157a806c8698a9339f0252475b04e8b /package/boost/boost.mk | |
parent | 6e6397fd766ea9d018ce52418b9a66881aafc573 (diff) | |
download | buildroot-27281af4bf969a943c81afcfbcd881728a3c1172.tar.gz buildroot-27281af4bf969a943c81afcfbcd881728a3c1172.zip |
boost: make package less verbose when building with -s
The boost build is very verbose (11K+ lines even when no sub options are
enabled). While this can be handy for debugging, make is less verbose when
'make -s' is used, similar to how we do it for autotools.
With this, make -s boost outputs less than 100 lines.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/boost/boost.mk')
-rw-r--r-- | package/boost/boost.mk | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/package/boost/boost.mk b/package/boost/boost.mk index 178f7b8738..36710f7339 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -118,6 +118,10 @@ BOOST_WITHOUT_FLAGS_COMMASEPARATED += $(subst $(space),$(comma),$(strip $(BOOST_ BOOST_FLAGS += $(if $(BOOST_WITHOUT_FLAGS_COMMASEPARATED), --without-libraries=$(BOOST_WITHOUT_FLAGS_COMMASEPARATED)) BOOST_LAYOUT = $(call qstrip, $(BR2_PACKAGE_BOOST_LAYOUT)) +# how verbose should the build be? +BOOST_OPTS += $(if $(QUIET),-d,-d+1) +HOST_BOOST_OPTS += $(if $(QUIET),-d,-d+1) + define BOOST_CONFIGURE_CMDS (cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS)) echo "using gcc : `$(TARGET_CC) -dumpversion` : $(TARGET_CXX) : <cxxflags>\"$(BOOST_TARGET_CXXFLAGS)\" <linkflags>\"$(TARGET_LDFLAGS)\" ;" > $(@D)/user-config.jam @@ -131,7 +135,7 @@ define HOST_BOOST_CONFIGURE_CMDS endef define BOOST_INSTALL_TARGET_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q -d+1 \ + (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ --user-config=$(@D)/user-config.jam \ $(BOOST_OPTS) \ --prefix=$(TARGET_DIR)/usr \ @@ -140,7 +144,7 @@ define BOOST_INSTALL_TARGET_CMDS endef define HOST_BOOST_BUILD_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q -d+1 \ + (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ --user-config=$(@D)/user-config.jam \ $(HOST_BOOST_OPTS) \ --ignore-site-config \ @@ -148,7 +152,7 @@ define HOST_BOOST_BUILD_CMDS endef define HOST_BOOST_INSTALL_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q -d+1 \ + (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ --user-config=$(@D)/user-config.jam \ $(HOST_BOOST_OPTS) \ --prefix=$(HOST_DIR)/usr \ @@ -157,7 +161,7 @@ define HOST_BOOST_INSTALL_CMDS endef define BOOST_INSTALL_STAGING_CMDS - (cd $(@D) && ./bjam -j$(PARALLEL_JOBS) -q -d+1 \ + (cd $(@D) && ./bjam -j$(PARALLEL_JOBS) -q \ --user-config=$(@D)/user-config.jam \ $(BOOST_OPTS) \ --prefix=$(STAGING_DIR)/usr \ |