mirror of
https://git.yoctoproject.org/poky
synced 2026-06-05 09:52:39 +02:00
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>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user