summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/virtualization-layer/recipes-extended/xen/xen_git.bbappend
blob: 2d63e18412033c8c3e2d842334994cc736f6a8cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
}