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-16 13:35:09 +0100
commit47ba4c7decfb1afd7e2118354f7a898b85d73e1c (patch)
tree6c4f76a54d5b8c5f33373924acd67838642f2508
parent905529059017ddbc273a1afa50708657b19758a4 (diff)
downloadpoky-47ba4c7decfb1afd7e2118354f7a898b85d73e1c.tar.gz
poky-47ba4c7decfb1afd7e2118354f7a898b85d73e1c.tar.bz2
poky-47ba4c7decfb1afd7e2118354f7a898b85d73e1c.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) (From OE-Core rev: aa37b5fe0620122e47f36165f5c7a07d3328dba3) (From OE-Core rev: 6540c5bb9241d5729a0e56f5cf24e1d1d1d4a4cc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.31.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.31.bb b/meta/recipes-devtools/binutils/binutils_2.31.bb
index 3dcc837c78..625e18c787 100644
--- a/meta/recipes-devtools/binutils/binutils_2.31.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.31.bb
@@ -48,4 +48,7 @@ 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"