mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
qemu: When applying qemu-mips workaround, check the file exists first
If qemu-mips was disabled as done in some distros, this wrapper would fail. Therefore check if the file exists before wrapping it. (From OE-Core rev: 9ec1c06915b10d142bf5646396c4e91bb61a40a5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -37,8 +37,10 @@ do_configure_prepend_virtclass-nativesdk() {
|
|||||||
# the qemu-mips works fine.
|
# the qemu-mips works fine.
|
||||||
# IMPORTANT: This piece needs to be removed once the root cause is fixed!
|
# IMPORTANT: This piece needs to be removed once the root cause is fixed!
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
create_wrapper ${D}/${bindir}/qemu-mips \
|
if [ -e "${D}/${bindir}/qemu-mips" ]; then
|
||||||
QEMU_RESERVED_VA=0x0
|
create_wrapper ${D}/${bindir}/qemu-mips \
|
||||||
|
QEMU_RESERVED_VA=0x0
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
# END of qemu-mips workaround
|
# END of qemu-mips workaround
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user