From: Dmitry Baryshkov Date: Thu, 10 Apr 2025 02:54:44 +0000 (+0300) Subject: llvm: also use llvm-config wrapper for nativesdk recipes X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d4b02d28c8c5807c2a90402c1239ed2581eb884;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Dmitry Baryshkov Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/llvm/llvm_20.1.2.bb b/meta/recipes-devtools/llvm/llvm_20.1.2.bb index c9cb466c578..0fb35a4f5b9 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() { } SYSROOT_PREPROCESS_FUNCS:append:class-target = " llvm_sysroot_preprocess" +SYSROOT_PREPROCESS_FUNCS:append:class-nativesdk = " llvm_sysroot_preprocess" llvm_sysroot_preprocess() { install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/