summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/xilinx/recipes-extended/xen/xen-xilinx.inc
diff options
context:
space:
mode:
Diffstat (limited to 'dynamic-layers/xilinx/recipes-extended/xen/xen-xilinx.inc')
-rw-r--r--dynamic-layers/xilinx/recipes-extended/xen/xen-xilinx.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/dynamic-layers/xilinx/recipes-extended/xen/xen-xilinx.inc b/dynamic-layers/xilinx/recipes-extended/xen/xen-xilinx.inc
new file mode 100644
index 00000000..344061aa
--- /dev/null
+++ b/dynamic-layers/xilinx/recipes-extended/xen/xen-xilinx.inc
@@ -0,0 +1,14 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
2
3DEPENDS += "u-boot-mkimage-native"
4DEPENDS += "dtc-native"
5
6XENIMAGE_KERNEL_LOADADDRESS ?= "0x6000000"
7do_deploy_append() {
8 if [ -f ${DEPLOYDIR}/xen-${MACHINE} ]; then
9 uboot-mkimage -A arm64 -T kernel -a ${XENIMAGE_KERNEL_LOADADDRESS} -e ${XENIMAGE_KERNEL_LOADADDRESS} -C none -d ${DEPLOYDIR}/xen-${MACHINE} ${DEPLOYDIR}/xen.ub
10 fi
11}
12
13deltask do_deploy_setscene
14deltask do_populate_sysroot_setscene