summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>2025-04-10 05:54:44 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-11 11:44:22 +0100
commit2ecf7ab4694edb0bdb60b3d2059ff3e3416cddc5 (patch)
tree2717de949931020a0d3165137d06c404dbcff4d1
parente6a528d4d20c648c8d5a13ac71d354d31befb638 (diff)
downloadpoky-2ecf7ab4694edb0bdb60b3d2059ff3e3416cddc5.tar.gz
llvm: also use llvm-config wrapper for nativesdk recipes
The recipes targeting the SDK (e.g. nativesdk-mesa) should also use the llvm-config wrapper, otherwise they get get a lot of incorrect flags, the most offensive being the rpath, as it results in TMPDIR being a part of the resulting binary. (From OE-Core rev: 4d4b02d28c8c5807c2a90402c1239ed2581eb884) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/llvm/llvm_20.1.2.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_20.1.2.bb b/meta/recipes-devtools/llvm/llvm_20.1.2.bb
index c9cb466c57..0fb35a4f5b 100644
--- a/meta/recipes-devtools/llvm/llvm_20.1.2.bb
+++ b/meta/recipes-devtools/llvm/llvm_20.1.2.bb
@@ -138,6 +138,7 @@ do_install:append:class-native() {
138} 138}
139 139
140SYSROOT_PREPROCESS_FUNCS:append:class-target = " llvm_sysroot_preprocess" 140SYSROOT_PREPROCESS_FUNCS:append:class-target = " llvm_sysroot_preprocess"
141SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " llvm_sysroot_preprocess"
141 142
142llvm_sysroot_preprocess() { 143llvm_sysroot_preprocess() {
143 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ 144 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/