diff options
| author | Alistair Francis <alistair.francis@xilinx.com> | 2016-10-03 10:46:49 -0700 |
|---|---|---|
| committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-10-11 22:36:30 +1000 |
| commit | 037f98b2e5ba0bc056233c99aa4e9b55a2bae1fb (patch) | |
| tree | 7b9cb4bca9892031082186b935e020738daae9f3 /recipes-devtools | |
| parent | 126ec2ec917d4675516b6d5b1fb8788bccd43bcf (diff) | |
| download | meta-xilinx-037f98b2e5ba0bc056233c99aa4e9b55a2bae1fb.tar.gz | |
qemu: Build Xilinx's QEMU
Build Xilinx's QEMU in the qemu-xilinx direcotry.
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'recipes-devtools')
| -rw-r--r-- | recipes-devtools/qemu/qemu-xilinx_2.2.5.bb | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/recipes-devtools/qemu/qemu-xilinx_2.2.5.bb b/recipes-devtools/qemu/qemu-xilinx_2.2.5.bb new file mode 100644 index 00000000..d4616d34 --- /dev/null +++ b/recipes-devtools/qemu/qemu-xilinx_2.2.5.bb | |||
| @@ -0,0 +1,54 @@ | |||
| 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 = "de453ab4cf993f63de502c4efd8a08a347c3b164" | ||
| 14 | SRC_URI = "git://github.com/Xilinx/qemu.git;protocol=https;nobranch=1" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | PV = "2.2.50+git+${SRCPV}" | ||
| 19 | |||
| 20 | # Disable KVM completely | ||
| 21 | KVMENABLE = "--disable-kvm" | ||
| 22 | |||
| 23 | # Strip all appends (needed because qemu.inc adds patches using overrides) | ||
| 24 | SRC_URI[_append] = "" | ||
| 25 | |||
| 26 | DISABLE_STATIC_pn-qemu-xilinx-native = "" | ||
| 27 | |||
| 28 | PACKAGECONFIG[quorum] = "--enable-quorum, --disable-quorum, gnutls," | ||
| 29 | PACKAGECONFIG[vnc-tls] = "--enable-vnc --enable-vnc-tls,--disable-vnc-tls, gnutls," | ||
| 30 | PACKAGECONFIG[vnc-ws] = "--enable-vnc --enable-vnc-ws,--disable-vnc-ws, gnutls," | ||
| 31 | PACKAGECONFIG[gcrypt] = "--enable-libgcrypt,--disable-libgcrypt,libgcrypt," | ||
| 32 | PACKAGECONFIG[nss] = "" | ||
| 33 | PACKAGECONFIG[nettle] = "" | ||
| 34 | PACKAGECONFIG[glx] = "" | ||
| 35 | PACKAGECONFIG[gnutls] = "" | ||
| 36 | PACKAGECONFIG[bzip2] = "" | ||
| 37 | |||
| 38 | # append a suffix dir, to allow multiple versions of QEMU to be installed | ||
| 39 | datadir_append = "/qemu-xilinx" | ||
| 40 | bindir_append = "/qemu-xilinx" | ||
| 41 | libexecdir_append = "/qemu-xilinx" | ||
| 42 | |||
| 43 | # ensure configure is passed the modified dirs | ||
| 44 | EXTRA_OECONF += " \ | ||
| 45 | --bindir=${bindir} \ | ||
| 46 | --datadir=${datadir} \ | ||
| 47 | --mandir=${mandir} \ | ||
| 48 | --docdir=${docdir} \ | ||
| 49 | " | ||
| 50 | |||
| 51 | do_install() { | ||
| 52 | export STRIP="true" | ||
| 53 | autotools_do_install | ||
| 54 | } | ||
