summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/xilinx/recipes-extended/xen/xen-xilinx.inc
blob: d27362a3e0e36d1162083093b3ab5d5c97335516 (plain)
1
2
3
4
5
6
7
8
9
10
11
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
}