From patchwork Fri Dec 11 13:57:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 555770 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 5C6A11401B5 for ; Sat, 12 Dec 2015 00:58:32 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b=Sd+75qE0; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A253A95CF3; Fri, 11 Dec 2015 13:58:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UQ42zTkB77o3; Fri, 11 Dec 2015 13:58:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 18CA995CEA; Fri, 11 Dec 2015 13:58:31 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C9C9A1C0F12 for ; Fri, 11 Dec 2015 13:58:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C3E8A92B37 for ; Fri, 11 Dec 2015 13:58:30 +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 wHWGOyILPOpc for ; Fri, 11 Dec 2015 13:58:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 023C992B32 for ; Fri, 11 Dec 2015 13:58:30 +0000 (UTC) Received: from dovecot03.posteo.de (dovecot03.posteo.de [172.16.0.13]) by mout01.posteo.de (Postfix) with ESMTPS id 9D0AB209DD for ; Fri, 11 Dec 2015 14:58:28 +0100 (CET) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3pHDGr3V6Qz5vNB for ; Fri, 11 Dec 2015 14:58:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.embedded.rocks (Postfix) with ESMTP id 117F8EE0D4F; Fri, 11 Dec 2015 14:58:28 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:references:in-reply-to:x-mailer:message-id:date :date:subject:subject:from:from:received:received; s=default; t= 1449842302; x=1450447103; bh=7yr+x/AkjfdjNmMVp6ykaDPSdXpTxBB/Z+r SzgCsLLs=; b=Sd+75qE04ShiWVTEam61khqYtyI7GvwV6LeaR+WkArcUTr8h/6n aLIGCDVlTaLJFiP6kg77EzP0fyLlrakqNly92idXbP7IzrjLzi4yJqa8Dkmul3UU R9skRakTZiRxa/qjiL5ltwdSBBmrCts8km5/04LyPG0F/UnoHyXNrRq88Gob9pGX UrbWKKiA78ab2bB/AjLmGkYRLa5kEoHchbY+rl9VumldhlF+iXzvtGY1eCG2mILj c3wD1vqEn7N7CYm9kpoX1iMMJBdQ3erjfIXoNTz/RroBi4nXYIqAhaDNO2fiIk9p GhgqsltLXOecroHVhhXPLK1ntOuZmBLfejw== X-Virus-Scanned: Debian amavisd-new at mail.embedded.rocks Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id vxkVdX_qHdPd; Fri, 11 Dec 2015 14:58:22 +0100 (CET) Received: from nzxt.fritz.box (x4d0c9fa5.dyn.telefonica.de [77.12.159.165]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Fri, 11 Dec 2015 14:58:22 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Fri, 11 Dec 2015 14:57:59 +0100 Message-Id: <1449842279-22712-3-git-send-email-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1449842279-22712-1-git-send-email-joerg.krause@embedded.rocks> References: <1449842279-22712-1-git-send-email-joerg.krause@embedded.rocks> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 3/3] package/boost: add library coroutine2 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Coroutine2 is a new (C++14) library added in boost 1.59.0. We also add coroutine2 to the '--without-libraries' configuration flag for the host variant. Build successfully tested with Arago ARMv5 2011.09 - a gcc v4.5.3 toolchain. Signed-off-by: Jörg Krause Reviewed-by: Vicente Olivert Riera Tested-by: Vicente Olivert Riera --- package/boost/Config.in | 4 ++++ package/boost/boost.mk | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package/boost/Config.in b/package/boost/Config.in index 97d0802..83f6871 100644 --- a/package/boost/Config.in +++ b/package/boost/Config.in @@ -78,6 +78,10 @@ config BR2_PACKAGE_BOOST_COROUTINE bool "boost-coroutine" depends on BR2_PACKAGE_BOOST_CONTEXT +config BR2_PACKAGE_BOOST_COROUTINE2 + bool "boost-coroutine2" + depends on BR2_PACKAGE_BOOST_CONTEXT + config BR2_PACKAGE_BOOST_DATE_TIME bool "boost-date_time" diff --git a/package/boost/boost.mk b/package/boost/boost.mk index 2f23fe1..0161d68 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -16,15 +16,16 @@ HOST_BOOST_DEPENDENCIES = # keep host variant as minimal as possible HOST_BOOST_FLAGS = --without-icu \ --without-libraries=$(subst $(space),$(comma),atomic chrono context \ - coroutine date_time exception filesystem graph graph_parallel \ - iostreams locale log math mpi program_options python random regex \ - serialization signals system test thread timer wave) + coroutine coroutine2 date_time exception filesystem graph \ + graph_parallel iostreams locale log math mpi program_options python \ + random regex serialization signals system test thread timer wave) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTAINER),,container) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTEXT),,context) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COROUTINE),,coroutine) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COROUTINE2),,coroutine2) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_DATE_TIME),,date_time) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_EXCEPTION),,exception) BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_FILESYSTEM),,filesystem)