diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-07-29 21:38:09 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-31 10:48:35 +0100 |
| commit | 3e62ff66bc4062ff5cd912fc57d666b6621eff34 (patch) | |
| tree | 091dcf1a7635068e7313fa90d5ae01718f80a329 /meta | |
| parent | 55359a65a185f8e3f36459052f2bf407be11f7e8 (diff) | |
| download | poky-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.bb | 5 |
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 |
| 22 | LIBCLC_TARGETS ?= "all" | 22 | LIBCLC_TARGETS ?= "all" |
| 23 | 23 | ||
| 24 | EXTRA_OECMAKE = "-DLIBCLC_TARGETS_TO_BUILD=${LIBCLC_TARGETS} \ | 24 | EXTRA_OECMAKE = "-DLIBCLC_TARGETS_TO_BUILD=${LIBCLC_TARGETS}" |
| 25 | -DPREPARE_BUILTINS=${B_NATIVE}/prepare_builtins" | 25 | EXTRA_OECMAKE:append:class-target = " -DPREPARE_BUILTINS=${B_NATIVE}/prepare_builtins" |
| 26 | EXTRA_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. |
