summaryrefslogtreecommitdiffstats
path: root/conf/distro/include/meta-virt-xen.inc
blob: 5fbb57f87147d796621be1401076b897efb2178f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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"

# Xen on Raspberry Pi 4 64-bit support
XEN_RPI4_64_CONFIG_PATH ??= \
    'dynamic-layers/raspberrypi/conf/distro/include/xen-raspberrypi4-64.inc'
include ${@bb.utils.contains('MACHINE', 'raspberrypi4-64', \
    '${XEN_RPI4_64_CONFIG_PATH}', '', d)}

# Set serial for working qemuboot console
SERIAL_CONSOLES:qemuarm64 ?= "115200;ttyAMA0"