From 7f6f115d7d8467390d9bf7258cc8a5e7771528c2 Mon Sep 17 00:00:00 2001 From: Christopher Clark Date: Mon, 29 Jun 2020 18:54:44 -0700 Subject: xen: apply layer settings when xen DISTRO_FEATURE is enabled These settings are necessary for Xen and enabling them here, using the same mechanism that is used by k8s in this layer, simplifies building images for Xen. - Ensure that Xen mode is enabled in QEMU. - On ARM platforms: enable Flattened Device Tree (FDT) support. Signed-off-by: Christopher Clark Signed-off-by: Bruce Ashfield --- conf/distro/include/meta-virt-xen.inc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 conf/distro/include/meta-virt-xen.inc (limited to 'conf/distro') diff --git a/conf/distro/include/meta-virt-xen.inc b/conf/distro/include/meta-virt-xen.inc new file mode 100644 index 00000000..a92b08b4 --- /dev/null +++ b/conf/distro/include/meta-virt-xen.inc @@ -0,0 +1,6 @@ +# Make sure Xen mode is enabled in qemu +PACKAGECONFIG_append_pn-qemu = " xen" + +# For builds for ARM platforms, enable fdt +PACKAGECONFIG_append_pn-qemu_arm = " fdt" +PACKAGECONFIG_append_pn-qemu_aarch64 = " fdt" -- cgit v1.2.3-54-g00ecf