From: Khem Raj Date: Wed, 30 Jul 2025 04:38:09 +0000 (-0700) Subject: libclc: Point to native prepare_builtins binary for target and nativesdk X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1880494a984ed582e873bbf24fc5f1c000d0bc9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Khem Raj Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- 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" # Semicolon-separated list of targets to build LIBCLC_TARGETS ?= "all" -EXTRA_OECMAKE = "-DLIBCLC_TARGETS_TO_BUILD=${LIBCLC_TARGETS} \ - -DPREPARE_BUILTINS=${B_NATIVE}/prepare_builtins" +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" # 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.