diff options
Diffstat (limited to 'recipes-devtools/qemu/qemu-qoriq_4.1.0.bb')
-rw-r--r-- | recipes-devtools/qemu/qemu-qoriq_4.1.0.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/recipes-devtools/qemu/qemu-qoriq_4.1.0.bb b/recipes-devtools/qemu/qemu-qoriq_4.1.0.bb new file mode 100644 index 00000000..1880c8ae --- /dev/null +++ b/recipes-devtools/qemu/qemu-qoriq_4.1.0.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | BBCLASSEXTEND = "" | ||
2 | |||
3 | require recipes-devtools/qemu/qemu.inc | ||
4 | |||
5 | COMPATIBLE_MACHINE = "(qoriq)" | ||
6 | |||
7 | DEPENDS = "glib-2.0 zlib pixman bison-native" | ||
8 | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ | ||
10 | file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f" | ||
11 | |||
12 | SRC_URI = "gitsm://source.codeaurora.org/external/qoriq/qoriq-components/qemu;nobranch=1 \ | ||
13 | file://powerpc_rom.bin \ | ||
14 | file://run-ptest \ | ||
15 | file://0002-Add-subpackage-ptest-which-runs-all-unit-test-cases-.patch \ | ||
16 | file://0001-linux-user-remove-host-stime-syscall.patch \ | ||
17 | " | ||
18 | |||
19 | SRCREV = "521a0dcf59f1ca11e7d9e2f4e1ef3d2dfaebc0e4" | ||
20 | |||
21 | S = "${WORKDIR}/git" | ||
22 | |||
23 | python() { | ||
24 | d.appendVar('PROVIDES', ' ' + d.getVar('BPN').replace('-qoriq', '')) | ||
25 | pkgs = d.getVar('PACKAGES').split() | ||
26 | for p in pkgs: | ||
27 | if '-qoriq' in p: | ||
28 | d.appendVar('RPROVIDES_' + p, ' ' + p.replace('-qoriq', '')) | ||
29 | d.appendVar('RCONFLICTS_' + p, ' ' + p.replace('-qoriq', '')) | ||
30 | d.appendVar('RREPLACES_' + p, ' ' + p.replace('-qoriq', '')) | ||
31 | } | ||
32 | |||
33 | RDEPENDS_${PN}_class-target += "bash" | ||
34 | |||
35 | EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" | ||
36 | EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}" | ||
37 | EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" | ||
38 | |||
39 | do_install_append_class-nativesdk() { | ||
40 | ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)} | ||
41 | } | ||
42 | |||
43 | PACKAGECONFIG ??= " \ | ||
44 | fdt sdl kvm \ | ||
45 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa xen', d)} \ | ||
46 | " | ||
47 | PACKAGECONFIG_class-nativesdk ??= "fdt sdl kvm" | ||
48 | |||
49 | PACKAGECONFIG[xkbcommon] = ",," | ||
50 | PACKAGECONFIG[libudev] = ",," | ||
51 | |||
52 | DISABLE_STATIC = "" | ||
53 | |||