mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-25 06:47:03 +00:00
9dd5fcd6ce
Add xen-common.scc KERNEL_FEATURES to group common kernel configs and patches for both Xen Host and Guest. Change-Id: I3a14386e387b9778c962dd9fdbe9a60ce2e97e77 Issue-Id: SCM-1520 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
36 lines
1.3 KiB
PHP
36 lines
1.3 KiB
PHP
# Add arm-autonomy specific features to the kernel
|
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}:"
|
|
|
|
#
|
|
# arm-autonomy kmeta
|
|
#
|
|
SRC_URI_append = " file://arm-autonomy-kmeta;type=kmeta;name=arm-autonomy-kmeta;destsuffix=arm-autonomy-kmeta"
|
|
|
|
# Add common Xen (host and guest) configs and patches
|
|
KERNEL_FEATURES += "${@bb.utils.contains_any('DISTRO_FEATURES', \
|
|
'arm-autonomy-host arm-autonomy-guest', \
|
|
'features/arm-autonomy/xen-common.scc', '', d)}"
|
|
|
|
|
|
# Add xen host drivers to kernel if arm-autonomy-host is activated
|
|
KERNEL_FEATURES += "${@bb.utils.contains('DISTRO_FEATURES', \
|
|
'arm-autonomy-host', \
|
|
'features/arm-autonomy/xen-host.scc \
|
|
features/arm-autonomy/xen-host-iptables.scc', \
|
|
'', d)}"
|
|
|
|
|
|
# Add xen guest drivers to kernel if arm-autonomy-guest is activated
|
|
KERNEL_FEATURES += "${@bb.utils.contains('DISTRO_FEATURES', \
|
|
'arm-autonomy-guest', 'features/arm-autonomy/xen-guest.scc', '', d)}"
|
|
|
|
|
|
# Add support for arm64-autonomy-guest machine
|
|
COMPATIBLE_MACHINE_arm64-autonomy-guest = "arm64-autonomy-guest"
|
|
KMACHINE_arm64-autonomy-guest = "arm64-autonomy-guest"
|
|
|
|
# Add Minimal Kernel Configs for Docker runtime
|
|
KERNEL_FEATURES += "${@bb.utils.contains('DISTRO_FEATURES', \
|
|
'docker', 'features/arm-autonomy/docker-minimal.scc', '', d)}"
|