blob: 8ef3719ed44c7843ce10253b6ded0b158acb6304 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
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
}
|