diff options
author | Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | 2025-04-02 18:18:27 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-02 21:28:12 +0100 |
commit | 118809c3e6f580b6c7732d52e883f3a29eaeb845 (patch) | |
tree | 1c763c21717e4ff8ad66d83bc5df35ebd63bf4a2 | |
parent | 9dd06e9469c571c54ac220ede5731e013a5d425c (diff) | |
download | poky-118809c3e6f580b6c7732d52e883f3a29eaeb845.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: b43338002be18639ffb73ad4216c6120eb74a4a4)
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.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_20.1.1.bb b/meta/recipes-devtools/llvm/llvm_20.1.1.bb index 8719faebe3..1ea9432716 100644 --- a/meta/recipes-devtools/llvm/llvm_20.1.1.bb +++ b/meta/recipes-devtools/llvm/llvm_20.1.1.bb | |||
@@ -138,6 +138,7 @@ do_install:append:class-native() { | |||
138 | } | 138 | } |
139 | 139 | ||
140 | SYSROOT_PREPROCESS_FUNCS:append:class-target = " llvm_sysroot_preprocess" | 140 | SYSROOT_PREPROCESS_FUNCS:append:class-target = " llvm_sysroot_preprocess" |
141 | SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " llvm_sysroot_preprocess" | ||
141 | 142 | ||
142 | llvm_sysroot_preprocess() { | 143 | llvm_sysroot_preprocess() { |
143 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ | 144 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ |