From: Khem Raj <[email protected]>

In llvm-22 onwards the utility is built inside its own directory
instead of parent directory as was the case prior to llvm-22

Adjust the path to point to new location

Signed-off-by: Khem Raj <[email protected]>
---
 meta/recipes-devtools/clang/libclc_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/clang/libclc_git.bb 
b/meta/recipes-devtools/clang/libclc_git.bb
index c4b4881542..db846d59a8 100644
--- a/meta/recipes-devtools/clang/libclc_git.bb
+++ b/meta/recipes-devtools/clang/libclc_git.bb
@@ -22,8 +22,8 @@ B_NATIVE = "${B}-native"
 LIBCLC_TARGETS ?= "all"
 
 EXTRA_OECMAKE += "-DLIBCLC_TARGETS_TO_BUILD='${LIBCLC_TARGETS}'"
-EXTRA_OECMAKE:append:class-target = " 
-DPREPARE_BUILTINS=${B_NATIVE}/prepare_builtins"
-EXTRA_OECMAKE:append:class-nativesdk = " 
-DPREPARE_BUILTINS=${B_NATIVE}/prepare_builtins"
+EXTRA_OECMAKE:append:class-target = " 
-DPREPARE_BUILTINS=${B_NATIVE}/utils/prepare_builtins"
+EXTRA_OECMAKE:append:class-nativesdk = " 
-DPREPARE_BUILTINS=${B_NATIVE}/utils/prepare_builtins"
 
 # Need to build a native prepare_builtins binary in target builds. The easiest
 # way to do this is with a second native cmake build tree.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233832): 
https://lists.openembedded.org/g/openembedded-core/message/233832
Mute This Topic: https://lists.openembedded.org/mt/118493197/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to