summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-17 17:20:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-10 13:21:40 +0100
commit8ec59a27a8252ac084b090284a80ac83da4bccf1 (patch)
tree8b6f32507737402358c7588db444eb5deb9aff77
parent3abf1c375c6e943c90a4bb14f86b5ed1b8f4ff39 (diff)
downloadpoky-8ec59a27a8252ac084b090284a80ac83da4bccf1.tar.gz
poky-8ec59a27a8252ac084b090284a80ac83da4bccf1.tar.bz2
poky-8ec59a27a8252ac084b090284a80ac83da4bccf1.zip
binutils: Install non-alternatives links for nativesdk
In the SDK we need the plain symlinks and don't use alternative providers. When these are missing the toolchain can work incorrectly so fix this. (From OE-Core rev: 0c06cfaa016d06cc56d80dc1c244a938f3d38a3c) (From OE-Core rev: 0d299c5dc04407d2d54574157f4014f50f2d0468) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.32.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.32.bb b/meta/recipes-devtools/binutils/binutils_2.32.bb
index c2833b8447..ecdab96658 100644
--- a/meta/recipes-devtools/binutils/binutils_2.32.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.32.bb
@@ -53,5 +53,8 @@ FILES_libbfd = "${libdir}/libbfd-*.so"
SRC_URI_append_class-nativesdk = "file://nativesdk-relocation.patch"
+USE_ALTERNATIVES_FOR_class-nativesdk = ""
+FILES_${PN}_append_class-nativesdk = " ${bindir}"
+
BBCLASSEXTEND = "native nativesdk"