mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
c31bf6514b
commit
49f5daf9b7
@@ -0,0 +1,14 @@
|
|||||||
|
DESCRIPTION = "Qemu wrapper script"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
PR = "r0"
|
||||||
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|
||||||
|
inherit qemu
|
||||||
|
|
||||||
|
do_install () {
|
||||||
|
install -d ${STAGING_BINDIR_CROSS}
|
||||||
|
|
||||||
|
echo "#!/bin/sh" > ${STAGING_BINDIR_CROSS}/qemuwrapper
|
||||||
|
echo exec env ${@qemu_target_binary(d)} \"\$@\" >> ${STAGING_BINDIR_CROSS}/qemuwrapper
|
||||||
|
chmod +x ${STAGING_BINDIR_CROSS}/qemuwrapper
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user