require recipes-devtools/qemu/qemu.inc PROVIDES = "qemu" # This is v2.3.0 #SRCREV = "e5b3a24181ea0cebf1c5b20f44d016311b7048f0" LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913" # Discard all files included in qemu.inc, we're not interested in them here # This is why it is an "=" and not _prepend or "+=" as in other recipes: SRC_URI = "git://git.qemu.org/qemu.git;tag=v2.3.0" S = "${WORKDIR}/git" DEFAULT_PREFERENCE = "-1" COMPATIBLE_HOST_class-target_mips64 = "null" # build arm emulators only QEMU_TARGETS = "arm aarch64" # Override --disable-glx, which now is --disable-opengl PACKAGECONFIG[glx] = "--enable-opengl,--disable-opengl,mesa" PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,mesa" FILES_${PN} += " \ /run \ /usr/share/qemu \ " # Our own do_install function so it doesn't try to install powerpc_rom.bin: do_install () { export STRIP="true" autotools_do_install install -d ${D}${datadir}/qemu }