summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-01-31 10:04:57 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-06 09:37:23 +0000
commit49f5daf9b71a4bd9c839b348c9819019903a5f2e (patch)
treeb787f61c19016bff6c8f5bd9bdaa9d8518601836 /meta/recipes-devtools/qemu
parentc31bf6514bdda951b315f16aa640f9d46232c060 (diff)
downloadpoky-49f5daf9b71a4bd9c839b348c9819019903a5f2e.tar.gz
add qemuwrapper-cross recipe
This will just install a wrapper script in STAGING_BINDIR_CROSS that will execute the proper qemu user binary for the current target. [YOCTO #2599] (From OE-Core rev: faaa5e7fd4353b73289f163d9f601cf0869698f3) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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}