diff options
author | Adrian Freihofer <adrian.freihofer@gmail.com> | 2023-11-20 15:46:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-30 08:43:03 +0000 |
commit | 07462992787a1e762e13c48d3888c3915e4a4a4b (patch) | |
tree | 729886388ee04364a1dba32f002ab59049ca9563 /meta/classes-recipe/kernel-yocto.bbclass | |
parent | 3e50e45917831d9da2d86e69fb908a1a78483b62 (diff) | |
download | poky-07462992787a1e762e13c48d3888c3915e4a4a4b.tar.gz |
cmake-qemu.bbclass: support qemu for cmake
Define the CMAKE_CROSSCOMPILING_EMULATOR variable similar to what the
meson bbclass does. This allows for example to execute cross compilied
unit tests on the build machine when using an SDK.
CMAKE_CROSSCOMPILING_EMULATOR is a semi colon separated list of
paramters which could directly handle the -L and the -E parameters.
Creating a wrapper script is not absolutely mandatory. But anyway lets
do it similar to what the meson.bbclass does and also disable pseudo.
Further information can be found in the camke documentation in the
CMAKE_CROSSCOMPILING_EMULATOR section.
Keep the code optional, as the core does not need this function and does
not intend to use it in the future.
[YOCTO #15214]
(From OE-Core rev: b197d0b0de1fa5f295d32dbda2eb815ca0153299)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/kernel-yocto.bbclass')
0 files changed, 0 insertions, 0 deletions