summaryrefslogtreecommitdiffstats
path: root/meta-agl/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen_git.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen_git.bbappend')
-rw-r--r--meta-agl/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen_git.bbappend18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-agl/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen_git.bbappend b/meta-agl/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen_git.bbappend
new file mode 100644
index 00000000..1b9aaf4c
--- /dev/null
+++ b/meta-agl/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen_git.bbappend
@@ -0,0 +1,18 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+# make the package machine-specific
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+# rpi4 specifics
+LIC_FILES_CHKSUM_raspberrypi4 = "file://COPYING;md5=4295d895d4b5ce9d070263d52f030e49"
+XEN_REL_raspberrypi4 = "4.13"
+
+SRCREV_raspberrypi4 = "721f2c323ca55c77857c93e7275b4a93a0e15e1f"
+SRC_URI_append_raspberrypi4 = " file://0001-XEN-on-RPi4-1GB-lmitation-workaround-XEN-tries-to-al.patch"
+
+#due to incorrect xen binary preparation in external library, we add additional deploy
+do_deploy_append_raspberrypi4() {
+ if [ -f ${B}/xen/xen ]; then
+ install -m 0644 ${B}/xen/xen ${DEPLOYDIR}/xen-${MACHINE}
+ fi
+}