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-06 16:56:19 +0100
commit0d299c5dc04407d2d54574157f4014f50f2d0468 (patch)
treec0882618757d25b341a6ae46ea463080bc31f5c2
parent09a2b16ac2bd1e3e415131e46315c851373aa7e0 (diff)
downloadopenembedded-core-0d299c5dc04407d2d54574157f4014f50f2d0468.tar.gz
openembedded-core-0d299c5dc04407d2d54574157f4014f50f2d0468.tar.bz2
openembedded-core-0d299c5dc04407d2d54574157f4014f50f2d0468.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) 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"