diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu_2.8.1.1.bb')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu_2.8.1.1.bb | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_2.8.1.1.bb b/meta/recipes-devtools/qemu/qemu_2.8.1.1.bb new file mode 100644 index 0000000000..d37dd49064 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu_2.8.1.1.bb | |||
@@ -0,0 +1,63 @@ | |||
1 | require qemu.inc | ||
2 | |||
3 | inherit ptest | ||
4 | |||
5 | RDEPENDS_${PN}-ptest = "bash make" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ | ||
8 | file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913" | ||
9 | |||
10 | SRC_URI += " \ | ||
11 | file://powerpc_rom.bin \ | ||
12 | file://disable-grabs.patch \ | ||
13 | file://exclude-some-arm-EABI-obsolete-syscalls.patch \ | ||
14 | file://wacom.patch \ | ||
15 | file://add-ptest-in-makefile.patch \ | ||
16 | file://run-ptest \ | ||
17 | file://configure-fix-Darwin-target-detection.patch \ | ||
18 | file://qemu-enlarge-env-entry-size.patch \ | ||
19 | file://no-valgrind.patch \ | ||
20 | file://pathlimit.patch \ | ||
21 | file://qemu-2.5.0-cflags.patch \ | ||
22 | file://glibc-2.25.patch \ | ||
23 | " | ||
24 | |||
25 | SRC_URI += " \ | ||
26 | file://0001-Provide-support-for-the-CUSE-TPM.patch \ | ||
27 | file://0002-Introduce-condition-to-notify-waiters-of-completed-c.patch \ | ||
28 | file://0003-Introduce-condition-in-TPM-backend-for-notification.patch \ | ||
29 | file://0004-Add-support-for-VM-suspend-resume-for-TPM-TIS.patch \ | ||
30 | file://CVE-2016-9908.patch \ | ||
31 | file://CVE-2016-9912.patch \ | ||
32 | " | ||
33 | |||
34 | SRC_URI_append_class-native = " \ | ||
35 | file://fix-libcap-header-issue-on-some-distro.patch \ | ||
36 | file://cpus.c-qemu_cpu_kick_thread_debugging.patch \ | ||
37 | " | ||
38 | |||
39 | SRC_URI =+ "http://wiki.qemu-project.org/download/${BP}.tar.bz2" | ||
40 | |||
41 | SRC_URI[md5sum] = "a6a23a0c59fd0f8ec564b0fb89a79954" | ||
42 | SRC_URI[sha256sum] = "f62ab18a1fb9ff5b4c81ed44becc945b11581eff777618141bdb787da55d3638" | ||
43 | |||
44 | COMPATIBLE_HOST_mipsarchn32 = "null" | ||
45 | COMPATIBLE_HOST_mipsarchn64 = "null" | ||
46 | |||
47 | do_install_append() { | ||
48 | # Prevent QA warnings about installed ${localstatedir}/run | ||
49 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi | ||
50 | install -Dm 0755 ${WORKDIR}/powerpc_rom.bin ${D}${datadir}/qemu | ||
51 | } | ||
52 | |||
53 | do_compile_ptest() { | ||
54 | make buildtest-TESTS | ||
55 | } | ||
56 | |||
57 | do_install_ptest() { | ||
58 | cp -rL ${B}/tests ${D}${PTEST_PATH} | ||
59 | find ${D}${PTEST_PATH}/tests -type f -name "*.[Sshcod]" | xargs -i rm -rf {} | ||
60 | |||
61 | cp ${S}/tests/Makefile.include ${D}${PTEST_PATH}/tests | ||
62 | } | ||
63 | |||