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:34:53 +0100
commitddfd5cf2ae6c6acdd9d2c97fd23fcddb30a752fd (patch)
tree8244542aa4f696acef83d219e53641bd584a1fe4
parentb59770a3143aeb73fc4308be1327d59e3a417ba6 (diff)
downloadpoky-ddfd5cf2ae6c6acdd9d2c97fd23fcddb30a752fd.tar.gz
poky-ddfd5cf2ae6c6acdd9d2c97fd23fcddb30a752fd.tar.bz2
poky-ddfd5cf2ae6c6acdd9d2c97fd23fcddb30a752fd.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) 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 3dcc837c78..625e18c787 100644
--- a/meta/recipes-devtools/binutils/binutils_2.32.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.32.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"