summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu_1.7.2.bb
blob: 3fa7f201b574932710f58410f815e96350098ead (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
require qemu.inc

LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
                    file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913"

SRC_URI += "file://fxrstorssefix.patch \
            file://qemu-enlarge-env-entry-size.patch \
            file://Qemu-Arm-versatilepb-Add-memory-size-checking.patch \
            file://ide-CVE-2014-2894.patch \
            file://slirp-udp-NULL-pointer-dereference-CVE-2014-3640.patch \
            file://vmware-vga-CVE-2014-3689.patch \
            file://vmstate_xhci_event-CVE-2014-5263.patch \
            file://vnc-CVE-2014-7815.patch \
            file://fdc-CVE-2015-3456.patch \
            file://CVE-2014-7840.patch "

SRC_URI_prepend = "http://wiki.qemu.org/download/qemu-${PV}.tar.bz2"
SRC_URI[md5sum] = "a52e0acd37b0c9b06228fe98da0b1b43"
SRC_URI[sha256sum] = "645d30fb11efbf4246dc0f6f40aaf3412d6519828e9a61eb01812f9a9cd344a1"

COMPATIBLE_HOST_class-target_mips64 = "null"

do_sanitize_sources() {
    # These .git files point to a nonexistent path "../.git/modules" and will confuse git
    # if it tries to recurse into those directories.
    rm -f ${S}/dtc/.git ${S}/pixman/.git
}

addtask sanitize_sources after do_unpack before do_patch

do_install_append() {
    # Prevent QA warnings about installed ${localstatedir}/run
    if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi
}