summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r--meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
new file mode 100644
index 0000000000..dc16047451
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
@@ -0,0 +1,14 @@
1DESCRIPTION = "Qemu wrapper script"
2LICENSE = "MIT"
3PR = "r0"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5
6inherit qemu
7
8do_install () {
9 install -d ${STAGING_BINDIR_CROSS}
10
11 echo "#!/bin/sh" > ${STAGING_BINDIR_CROSS}/qemuwrapper
12 echo exec env ${@qemu_target_binary(d)} \"\$@\" >> ${STAGING_BINDIR_CROSS}/qemuwrapper
13 chmod +x ${STAGING_BINDIR_CROSS}/qemuwrapper
14}