summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/cmake-qemu.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes-recipe/cmake-qemu.bbclass')
-rw-r--r--meta/classes-recipe/cmake-qemu.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/cmake-qemu.bbclass b/meta/classes-recipe/cmake-qemu.bbclass
index 46a89e2827..383fc74bf2 100644
--- a/meta/classes-recipe/cmake-qemu.bbclass
+++ b/meta/classes-recipe/cmake-qemu.bbclass
@@ -19,7 +19,7 @@ inherit qemu cmake
19DEPENDS:append:class-target = "${@' qemu-native' if bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', True, False, d) else ''}" 19DEPENDS:append:class-target = "${@' qemu-native' if bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', True, False, d) else ''}"
20 20
21cmake_do_generate_toolchain_file:append:class-target() { 21cmake_do_generate_toolchain_file:append:class-target() {
22 if [ "${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d)}" ]; then 22 if ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'true', 'false', d)}; then
23 # Write out a qemu wrapper that will be used as exe_wrapper so that cmake 23 # Write out a qemu wrapper that will be used as exe_wrapper so that cmake
24 # can run target helper binaries through that. This also allows to execute ctest. 24 # can run target helper binaries through that. This also allows to execute ctest.
25 qemu_binary="${@qemu_wrapper_cmdline(d, '${STAGING_DIR_HOST}', ['${STAGING_DIR_HOST}/${libdir}','${STAGING_DIR_HOST}/${base_libdir}'])}" 25 qemu_binary="${@qemu_wrapper_cmdline(d, '${STAGING_DIR_HOST}', ['${STAGING_DIR_HOST}/${libdir}','${STAGING_DIR_HOST}/${base_libdir}'])}"