From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by arago-project.org (Postfix) with ESMTPS id 0672D529F8 for ; Fri, 18 Nov 2016 22:09:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id C45B7204AF; Fri, 18 Nov 2016 22:09:53 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7UjIh9YWkBeW; Fri, 18 Nov 2016 22:09:53 +0000 (UTC) Received: from gandalf.denix.org (pool-100-15-95-79.washdc.fios.verizon.net [100.15.95.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 7CDCD20863; Fri, 18 Nov 2016 22:09:52 +0000 (UTC) Received: from sam.denix (sam [192.168.0.5]) by gandalf.denix.org (Postfix) with ESMTP id B19841621A6; Fri, 18 Nov 2016 17:09:51 -0500 (EST) From: Denys Dmytriyenko To: meta-arago@arago-project.org Date: Fri, 18 Nov 2016 17:09:44 -0500 Message-Id: <1479506990-10407-3-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479506990-10407-1-git-send-email-denis@denix.org> References: <1479506990-10407-1-git-send-email-denis@denix.org> Subject: [PATCH 2/8] switch-config: fix build with any toolchain, pass CC var X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 22:09:54 -0000 From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- meta-arago-extras/recipes-bsp/switch-config/switch-config_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-arago-extras/recipes-bsp/switch-config/switch-config_git.bb b/meta-arago-extras/recipes-bsp/switch-config/switch-config_git.bb index 2fd9d3b..7c8dc08 100644 --- a/meta-arago-extras/recipes-bsp/switch-config/switch-config_git.bb +++ b/meta-arago-extras/recipes-bsp/switch-config/switch-config_git.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://switch-config.c;beginline=1;endline=14;md5=659ff9658cbaba3110b81804af60de75" PV = "2.0" -PR = "r1" +PR = "r2" BRANCH ?= "v4.1" SRCREV = "669334329dff132c4a093351d48252b12e995b6c" @@ -12,7 +12,7 @@ SRC_URI = "git://git.ti.com/switch-config/switch-config.git;protocol=git;branch= S = "${WORKDIR}/git" -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"" do_configure() { sed 's|-I$(KBUILD_OUTPUT)/usr/include|${TOOLCHAIN_OPTIONS} -I.|' -i ${S}/Makefile -- 2.7.4