diff options
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r-- | meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb | 14 |
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 @@ | |||
1 | DESCRIPTION = "Qemu wrapper script" | ||
2 | LICENSE = "MIT" | ||
3 | PR = "r0" | ||
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
5 | |||
6 | inherit qemu | ||
7 | |||
8 | do_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 | } | ||