summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2012-04-17 22:19:46 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-01 21:57:19 +0200
commitbb0efa0ed4055e95fdf9791a71c7267e90099455 (patch)
tree7b19c0b45a804d6655745a9db1c2336758d14217 /package
parent9d51770a0c53f1ddd46fb3c10315734c72ecd070 (diff)
downloadbuildroot-novena-bb0efa0ed4055e95fdf9791a71c7267e90099455.tar.gz
buildroot-novena-bb0efa0ed4055e95fdf9791a71c7267e90099455.zip
boost: add an option to run cmds in parallel
Add the same -jN parameter as used for make. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/boost/boost.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 9da427af5..366796440 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -70,7 +70,7 @@ define BOOST_CONFIGURE_CMDS
endef
define BOOST_INSTALL_TARGET_CMDS
- (cd $(@D) && ./b2 -q -d+2 \
+ (cd $(@D) && ./b2 -j$(BR2_JLEVEL) -q -d+2 \
--user-config=$(@D)/user-config.jam \
$(BOOST_OPT) \
--prefix=$(TARGET_DIR)/usr \
@@ -78,7 +78,7 @@ define BOOST_INSTALL_TARGET_CMDS
endef
define BOOST_INSTALL_STAGING_CMDS
- (cd $(@D) && ./bjam -d+2 \
+ (cd $(@D) && ./bjam -j$(BR2_JLEVEL) -d+2 \
--user-config=$(@D)/user-config.jam \
$(BOOST_OPT) \
--prefix=$(STAGING_DIR)/usr \