summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2017-12-06 16:06:35 -0800
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2017-12-13 16:11:14 -0800
commita18947c20dba2c0c38db8bde1ad4684995df4bbd (patch)
tree917bf2abbe439a6f99ede8cfafb25812dca54a9a /meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc
parent6ddc5873b0ede30e6542f0ab151a6236acc37944 (diff)
downloadmeta-xilinx-a18947c20dba2c0c38db8bde1ad4684995df4bbd.tar.gz
meta-xilinx: Restructuring meta-xilinx to support multiple layers
As discussed previously on mailing list, we are proceeding with layer restructuring. For rocko release we will have the following layers meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-xilinx-contrib In the subsequent releases we will add other layers from Xilinx meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-petalinux ->meta-xilinx-tools ->meta-xilinx-contrib This will provide one clone to get all the required meta layers from Xilinx for a complete solution, and the users can blacklist any layer which they don't want to use using bblayer.conf. This will enables us to help our vendors/partners to add their reference designs, board definitions etc. Recipe changes : * Move reference design zybo-linux-bd.bb to meta-xilinx-contrib * Move kernel patches realted to zybo-linux-bd-zynq7 board to meta-xilinx-contrib * Update README Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc')
-rw-r--r--meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc47
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc
new file mode 100644
index 00000000..9b59ecce
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc
@@ -0,0 +1,47 @@
1QEMU_TARGETS = "aarch64 arm microblaze microblazeel"
2
3require recipes-devtools/qemu/qemu.inc
4
5SUMMARY = "Xilinx's fork of a fast open source processor emulator"
6HOMEPAGE = "https://github.com/xilinx/qemu/"
7
8LIC_FILES_CHKSUM = " \
9 file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
10 file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913 \
11 "
12
13PV = "${XILINX_QEMU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}"
14BRANCH ?= ""
15REPO ?= "git://github.com/Xilinx/qemu.git;protocol=https"
16
17BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
18SRC_URI = "${REPO};${BRANCHARG}"
19
20S = "${WORKDIR}/git"
21
22# Disable KVM completely
23PACKAGECONFIG_remove = "kvm"
24
25# Enable libgcrypt
26PACKAGECONFIG_append = " gcrypt"
27
28DISABLE_STATIC_pn-${PN} = ""
29
30PTEST_ENABLED = ""
31
32# append a suffix dir, to allow multiple versions of QEMU to be installed
33EXTRA_OECONF_append = " \
34 --bindir=${bindir}/qemu-xilinx \
35 --libexecdir=${libexecdir}/qemu-xilinx \
36 "
37
38do_configure_prepend() {
39 # rewrite usage of 'libgcrypt-config' with 'pkg-config libgcrypt'
40 sed -r -i 's/libgcrypt-config(\s*--)/pkg-config libgcrypt\1/g' ${S}/configure
41}
42
43do_install_append() {
44 # Prevent QA warnings about installed ${localstatedir}/run
45 if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi
46}
47