summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-07-29 21:38:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-07-31 10:48:35 +0100
commit3e62ff66bc4062ff5cd912fc57d666b6621eff34 (patch)
tree091dcf1a7635068e7313fa90d5ae01718f80a329 /meta
parent55359a65a185f8e3f36459052f2bf407be11f7e8 (diff)
downloadpoky-3e62ff66bc4062ff5cd912fc57d666b6621eff34.tar.gz
libclc: Point to native prepare_builtins binary for target and nativesdk
This is not needed for native version This will be in utils/ directory starting with clang-22 (From OE-Core rev: c1880494a984ed582e873bbf24fc5f1c000d0bc9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/clang/libclc_git.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/clang/libclc_git.bb b/meta/recipes-devtools/clang/libclc_git.bb
index ed31de503a..04b76c55d2 100644
--- a/meta/recipes-devtools/clang/libclc_git.bb
+++ b/meta/recipes-devtools/clang/libclc_git.bb
@@ -21,8 +21,9 @@ B_NATIVE = "${B}-native"
21# Semicolon-separated list of targets to build 21# Semicolon-separated list of targets to build
22LIBCLC_TARGETS ?= "all" 22LIBCLC_TARGETS ?= "all"
23 23
24EXTRA_OECMAKE = "-DLIBCLC_TARGETS_TO_BUILD=${LIBCLC_TARGETS} \ 24EXTRA_OECMAKE = "-DLIBCLC_TARGETS_TO_BUILD=${LIBCLC_TARGETS}"
25 -DPREPARE_BUILTINS=${B_NATIVE}/prepare_builtins" 25EXTRA_OECMAKE:append:class-target = " -DPREPARE_BUILTINS=${B_NATIVE}/prepare_builtins"
26EXTRA_OECMAKE:append:class-nativesdk = " -DPREPARE_BUILTINS=${B_NATIVE}/prepare_builtins"
26 27
27# Need to build a native prepare_builtins binary in target builds. The easiest 28# Need to build a native prepare_builtins binary in target builds. The easiest
28# way to do this is with a second native cmake build tree. 29# way to do this is with a second native cmake build tree.