Return-Path: Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.17]) by arago-project.org (Postfix) with ESMTPS id F15F152999 for ; Fri, 17 Feb 2017 20:28:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id EA78920B96; Fri, 17 Feb 2017 20:28:16 +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 ZxQhI5zeFCgu; Fri, 17 Feb 2017 20:28:16 +0000 (UTC) Received: from mail.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 CF12720999; Fri, 17 Feb 2017 20:28:15 +0000 (UTC) Received: from gimli.denix (pippin [192.168.0.6]) by mail.denix.org (Postfix) with ESMTP id 3C09516237D; Fri, 17 Feb 2017 15:28:15 -0500 (EST) From: Denys Dmytriyenko To: meta-arago@arago-project.org Date: Fri, 17 Feb 2017 15:28:14 -0500 Message-Id: <1487363294-71224-1-git-send-email-denys@ti.com> X-Mailer: git-send-email 2.7.4 Subject: [morty/master][PATCH] external-linaro-toolchain: reorder PACKAGES so libgcc-dev picks libgcc.a 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, 17 Feb 2017 20:28:17 -0000 Recent update to the upstream external-linaro-toolchain.bb in meta-linaro changed the order of PACKAGES and libgcc-dev is now towards the end of the list and has no chance of picking libgcc.a. Since native compiler on the target uses libgcc.a and expects it to come from libgcc-dev package, the fix is to move it up the PACKAGES list. Signed-off-by: Denys Dmytriyenko --- .../recipes-core/meta/external-linaro-toolchain.bbappend | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend b/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend index 31f5ba0..dda5607 100644 --- a/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend +++ b/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend @@ -6,7 +6,7 @@ ALLOW_EMPTY_ldd = "1" ALLOW_EMPTY_libstdc++ = "1" ALLOW_EMPTY_libgomp = "1" -PR_append = ".arago33" +PR_append = ".arago34" PROVIDES := "${@oe_filter_out('virtual/linux-libc-headers', '${PROVIDES}', d)}" PROVIDES := "${@oe_filter_out('linux-libc-headers', '${PROVIDES}', d)}" @@ -20,6 +20,9 @@ PACKAGES := "${@oe_filter_out('linux-libc-headers', '${PACKAGES}', d)}" PACKAGES += "${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-linaro-toolchain', 'linux-libc-headers-dev', '', d)}" +PACKAGES := "${@oe_filter_out('libgcc-dev', '${PACKAGES}', d)}" +PACKAGES =+ "libgcc-dev" + DEPENDS += "${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-linaro-toolchain', '', 'linux-libc-headers', d)}" DEPENDS += "external-linaro-toolchain-cross-${TARGET_ARCH}" -- 2.7.4