aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@xilinx.com>2016-10-03 10:46:49 -0700
committerNathan Rossi <nathan@nathanrossi.com>2016-10-11 22:36:30 +1000
commit037f98b2e5ba0bc056233c99aa4e9b55a2bae1fb (patch)
tree7b9cb4bca9892031082186b935e020738daae9f3
parent126ec2ec917d4675516b6d5b1fb8788bccd43bcf (diff)
downloadmeta-xilinx-037f98b2e5ba0bc056233c99aa4e9b55a2bae1fb.tar.gz
meta-xilinx-037f98b2e5ba0bc056233c99aa4e9b55a2bae1fb.tar.bz2
meta-xilinx-037f98b2e5ba0bc056233c99aa4e9b55a2bae1fb.zip
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>
-rw-r--r--recipes-devtools/qemu/qemu-xilinx_2.2.5.bb54
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 @@
+QEMU_TARGETS ?= "aarch64 arm microblaze microblazeel"
+
+require recipes-devtools/qemu/qemu.inc
+
+SUMMARY = "Xilinx's fork of a fast open source processor emulator"
+HOMEPAGE = "https://github.com/xilinx/qemu/"
+
+LIC_FILES_CHKSUM = " \
+ file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
+ file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913 \
+ "
+
+SRCREV = "de453ab4cf993f63de502c4efd8a08a347c3b164"
+SRC_URI = "git://github.com/Xilinx/qemu.git;protocol=https;nobranch=1"
+
+S = "${WORKDIR}/git"
+
+PV = "2.2.50+git+${SRCPV}"
+
+# Disable KVM completely
+KVMENABLE = "--disable-kvm"
+
+# Strip all appends (needed because qemu.inc adds patches using overrides)
+SRC_URI[_append] = ""
+
+DISABLE_STATIC_pn-qemu-xilinx-native = ""
+
+PACKAGECONFIG[quorum] = "--enable-quorum, --disable-quorum, gnutls,"
+PACKAGECONFIG[vnc-tls] = "--enable-vnc --enable-vnc-tls,--disable-vnc-tls, gnutls,"
+PACKAGECONFIG[vnc-ws] = "--enable-vnc --enable-vnc-ws,--disable-vnc-ws, gnutls,"
+PACKAGECONFIG[gcrypt] = "--enable-libgcrypt,--disable-libgcrypt,libgcrypt,"
+PACKAGECONFIG[nss] = ""
+PACKAGECONFIG[nettle] = ""
+PACKAGECONFIG[glx] = ""
+PACKAGECONFIG[gnutls] = ""
+PACKAGECONFIG[bzip2] = ""
+
+# append a suffix dir, to allow multiple versions of QEMU to be installed
+datadir_append = "/qemu-xilinx"
+bindir_append = "/qemu-xilinx"
+libexecdir_append = "/qemu-xilinx"
+
+# ensure configure is passed the modified dirs
+EXTRA_OECONF += " \
+ --bindir=${bindir} \
+ --datadir=${datadir} \
+ --mandir=${mandir} \
+ --docdir=${docdir} \
+ "
+
+do_install() {
+ export STRIP="true"
+ autotools_do_install
+}