meta-virtualization/dynamic-layers/xilinx/recipes-extended/xen/xen-xilinx.inc
Bruce Ashfield 2ee6fcd29b dynamic-layers: add xilinx dynamic layer for Xen support
Although this dynamic layer currently only adds Xen support, it will
eventually hold other board and platform specific tweaks to core
meta-virt recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-09-22 15:51:20 -04:00

15 lines
471 B
PHP

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
DEPENDS += "u-boot-mkimage-native"
DEPENDS += "dtc-native"
XENIMAGE_KERNEL_LOADADDRESS ?= "0x6000000"
do_deploy_append() {
if [ -f ${DEPLOYDIR}/xen-${MACHINE} ]; then
uboot-mkimage -A arm64 -T kernel -a ${XENIMAGE_KERNEL_LOADADDRESS} -e ${XENIMAGE_KERNEL_LOADADDRESS} -C none -d ${DEPLOYDIR}/xen-${MACHINE} ${DEPLOYDIR}/xen.ub
fi
}
deltask do_deploy_setscene
deltask do_populate_sysroot_setscene