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 <[email protected]>
---
 .../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

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to