Commit bb0efa0e authored by Yegor Yefremov's avatar Yegor Yefremov Committed by Peter Korsgaard
Browse files

boost: add an option to run cmds in parallel



Add the same -jN parameter as used for make.

Signed-off-by: default avatarYegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 9d51770a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 \