diff options
Diffstat (limited to 'recipes-devtools/qemu/qemu-xilinx_2017.3.bb')
| -rw-r--r-- | recipes-devtools/qemu/qemu-xilinx_2017.3.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes-devtools/qemu/qemu-xilinx_2017.3.bb b/recipes-devtools/qemu/qemu-xilinx_2017.3.bb new file mode 100644 index 00000000..624715da --- /dev/null +++ b/recipes-devtools/qemu/qemu-xilinx_2017.3.bb | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | QEMU_TARGETS = "aarch64 arm microblaze microblazeel" | ||
| 2 | |||
| 3 | require recipes-devtools/qemu/qemu.inc | ||
| 4 | |||
| 5 | SUMMARY = "Xilinx's fork of a fast open source processor emulator" | ||
| 6 | HOMEPAGE = "https://github.com/xilinx/qemu/" | ||
| 7 | |||
| 8 | LIC_FILES_CHKSUM = " \ | ||
| 9 | file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ | ||
| 10 | file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913 \ | ||
| 11 | " | ||
| 12 | |||
| 13 | SRCREV = "8f8c89b18f6e4523099e41d81769fc534064b8de" | ||
| 14 | SRC_URI = "git://github.com/Xilinx/qemu.git;protocol=https;nobranch=1" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | # Disable KVM completely | ||
| 19 | PACKAGECONFIG_remove = "kvm" | ||
| 20 | |||
| 21 | # Enable libgcrypt | ||
| 22 | PACKAGECONFIG_append = " gcrypt" | ||
| 23 | |||
| 24 | DISABLE_STATIC_pn-${PN} = "" | ||
| 25 | |||
| 26 | PTEST_ENABLED = "" | ||
| 27 | |||
| 28 | # append a suffix dir, to allow multiple versions of QEMU to be installed | ||
| 29 | EXTRA_OECONF_append = " \ | ||
| 30 | --bindir=${bindir}/qemu-xilinx \ | ||
| 31 | --libexecdir=${libexecdir}/qemu-xilinx \ | ||
| 32 | " | ||
| 33 | |||
| 34 | do_configure_prepend() { | ||
| 35 | # rewrite usage of 'libgcrypt-config' with 'pkg-config libgcrypt' | ||
| 36 | sed -r -i 's/libgcrypt-config(\s*--)/pkg-config libgcrypt\1/g' ${S}/configure | ||
| 37 | } | ||
| 38 | |||
| 39 | do_install_append() { | ||
| 40 | # Prevent QA warnings about installed ${localstatedir}/run | ||
| 41 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi | ||
| 42 | } | ||
| 43 | |||
