summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/xilinx/recipes-extended/xen/xen-xilinx.inc
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2020-09-21 18:08:21 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-09-22 15:51:20 -0400
commit2ee6fcd29b34638f8c0e98e5068150b6af9c76be (patch)
tree5c69c78173d1c72a9d40c1d872dfde13e97b522c /dynamic-layers/xilinx/recipes-extended/xen/xen-xilinx.inc
parentd945c7a9ededce73a5164089d84cea27a7db43c3 (diff)
downloadmeta-virtualization-2ee6fcd29b34638f8c0e98e5068150b6af9c76be.tar.gz
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>
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