From patchwork Sun Jul 12 14:35:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 494125 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 912161401E7 for ; Mon, 13 Jul 2015 00:36:08 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DC8A891364; Sun, 12 Jul 2015 14:36:07 +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 bIBrMPAwc5xP; Sun, 12 Jul 2015 14:36:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 523229133C; Sun, 12 Jul 2015 14:36:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id C19DB1C284B for ; Sun, 12 Jul 2015 14:35:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id ADE94A2E8C for ; Sun, 12 Jul 2015 14:35:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UGLP5a6d29mg for ; Sun, 12 Jul 2015 14:35:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from exchange.essensium.com (220.77.144.195.ipv4.evonet.be [195.144.77.220]) by fraxinus.osuosl.org (Postfix) with ESMTPS id AA0E1A2E8D for ; Sun, 12 Jul 2015 14:35:55 +0000 (UTC) Received: from vandecaa-laptop.home (10.8.0.10) by beleexch01.local.ess-mail.com (10.3.7.8) with Microsoft SMTP Server (TLS) id 15.0.847.32; Sun, 12 Jul 2015 16:35:32 +0200 From: "Arnout Vandecappelle (Essensium/Mind)" To: Date: Sun, 12 Jul 2015 16:35:28 +0200 Message-ID: <1436711730-20599-3-git-send-email-arnout@mind.be> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1436711730-20599-1-git-send-email-arnout@mind.be> References: <1436711730-20599-1-git-send-email-arnout@mind.be> MIME-Version: 1.0 X-Originating-IP: [10.8.0.10] X-ClientProxiedBy: beleexch01.local.ess-mail.com (10.3.7.8) To beleexch01.local.ess-mail.com (10.3.7.8) Subject: [Buildroot] [PATCH 3/5] boost: use backtick instead of $(shell ...) make function 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" Also remove the variables TARGET_CC_VERSION and HOST_CC_VERSION which lack the BOOST_ prefix and are used only once. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/boost/boost.mk | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/package/boost/boost.mk b/package/boost/boost.mk index dbb5de5..cc3ba9e 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -11,9 +11,6 @@ BOOST_INSTALL_STAGING = YES BOOST_LICENSE = Boost Software License 1.0 BOOST_LICENSE_FILES = LICENSE_1_0.txt -TARGET_CC_VERSION = $(shell $(TARGET_CC) -dumpversion) -HOST_CC_VERSION = $(shell $(HOSTCC) -dumpversion) - HOST_BOOST_DEPENDENCIES = # keep host variant as minimal as possible @@ -111,13 +108,13 @@ BOOST_LAYOUT = $(call qstrip, $(BR2_PACKAGE_BOOST_LAYOUT)) define BOOST_CONFIGURE_CMDS (cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS)) - echo "using gcc : $(TARGET_CC_VERSION) : $(TARGET_CXX) : \"$(BOOST_TARGET_CXXFLAGS)\" \"$(TARGET_LDFLAGS)\" ;" > $(@D)/user-config.jam + echo "using gcc : `$(TARGET_CC) -dumpversion` : $(TARGET_CXX) : \"$(BOOST_TARGET_CXXFLAGS)\" \"$(TARGET_LDFLAGS)\" ;" > $(@D)/user-config.jam echo "" >> $(@D)/user-config.jam endef define HOST_BOOST_CONFIGURE_CMDS (cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS)) - echo "using gcc : $(HOST_CC_VERSION) : $(HOSTCXX) : \"$(HOST_CXXFLAGS)\" \"$(HOST_LDFLAGS)\" ;" > $(@D)/user-config.jam + echo "using gcc : `$(HOST_CC) -dumpversion` : $(HOSTCXX) : \"$(HOST_CXXFLAGS)\" \"$(HOST_LDFLAGS)\" ;" > $(@D)/user-config.jam echo "" >> $(@D)/user-config.jam endef