From patchwork Wed Apr 18 08:19:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 153435 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 7DD31B6EF3 for ; Wed, 18 Apr 2012 18:20:28 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 41F9F8C182; Wed, 18 Apr 2012 08:20:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZZ2+94RA0q-e; Wed, 18 Apr 2012 08:20:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 1F4458AD18; Wed, 18 Apr 2012 08:20:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7B6848F753 for ; Wed, 18 Apr 2012 08:20:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6EDDA8AD18 for ; Wed, 18 Apr 2012 08:20:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ddvt5aUUcDYg for ; Wed, 18 Apr 2012 08:20:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.visionsystems.de (ns.vscom.de [62.145.30.242]) by whitealder.osuosl.org (Postfix) with ESMTP id 7DF518AB08 for ; Wed, 18 Apr 2012 08:20:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.visionsystems.de (Postfix) with ESMTP id EC3342A0171; Wed, 18 Apr 2012 10:20:04 +0200 (CEST) Received: from mail.visionsystems.de ([127.0.0.1]) by localhost (mail.visionsystems.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09728-06; Wed, 18 Apr 2012 10:19:55 +0200 (CEST) Received: from visionsystems.de (kallisto.visionsystems.local [192.168.1.3]) by mail.visionsystems.de (Postfix) with ESMTP id 1C591290F3A; Wed, 18 Apr 2012 10:19:55 +0200 (CEST) Received: from development1.visionsystems.local ([192.168.1.36]) by visionsystems.de with Microsoft SMTPSVC(6.0.3790.4675); Wed, 18 Apr 2012 10:19:54 +0200 From: yegorslists@googlemail.com To: buildroot@busybox.net Date: Wed, 18 Apr 2012 10:19:46 +0200 Message-Id: <1334737186-30736-1-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 1.7.7 X-OriginalArrivalTime: 18 Apr 2012 08:19:54.0690 (UTC) FILETIME=[08D2FA20:01CD1D3C] X-Virus-Scanned: amavisd-new at visionsystems.de Subject: [Buildroot] [PATCH] boost: add an option to run cmds in parallel X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Yegor Yefremov Add the same -jN parameter as used for make. Signed-off-by: Yegor Yefremov --- package/boost/boost.mk | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/boost/boost.mk b/package/boost/boost.mk index 9da427a..3667964 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 \