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-01-22 15:56:02 +0000
commit0c06cfaa016d06cc56d80dc1c244a938f3d38a3c (patch)
treeea5944dd9805bb356e149e83d01917056677ba80
parentf6c1089642934ad93056ef19a0888965486ee030 (diff)
downloadopenembedded-core-0c06cfaa016d06cc56d80dc1c244a938f3d38a3c.tar.gz
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.33.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.33.bb b/meta/recipes-devtools/binutils/binutils_2.33.bb
index c2833b8447..ecdab96658 100644
--- a/meta/recipes-devtools/binutils/binutils_2.33.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.33.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"