summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp
diff options
context:
space:
mode:
authorKamil Dziezyk <kamil.dziezyk@arm.com>2022-01-13 12:16:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-14 09:25:31 +0000
commit641149f449cfc7addad994cedf3b029814363f8e (patch)
tree257c586a05a018c47af3e4b22c5df8cc996c3ef8 /meta/recipes-bsp
parent3383be190e54ed681be258430acecf5f4faebc0c (diff)
downloadpoky-641149f449cfc7addad994cedf3b029814363f8e.tar.gz
grub-efi: Add xen_boot support when 'xen' is in DISTRO_FEATURES for aarch64
'xen-boot' module is available only for aarch64. (From OE-Core rev: bfabc6d4f8742cc1fdeb49c180b0f78faf5739a2) Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r--meta/recipes-bsp/grub/grub-efi_2.06.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi_2.06.bb b/meta/recipes-bsp/grub/grub-efi_2.06.bb
index a8cc209a02..df5f23e22e 100644
--- a/meta/recipes-bsp/grub/grub-efi_2.06.bb
+++ b/meta/recipes-bsp/grub/grub-efi_2.06.bb
@@ -73,6 +73,9 @@ do_install() {
73GRUB_BUILDIN ?= "boot linux ext2 fat serial part_msdos part_gpt normal \ 73GRUB_BUILDIN ?= "boot linux ext2 fat serial part_msdos part_gpt normal \
74 efi_gop iso9660 configfile search loadenv test" 74 efi_gop iso9660 configfile search loadenv test"
75 75
76# 'xen_boot' is a module valid only for aarch64
77GRUB_BUILDIN:append:aarch64 = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' xen_boot', '', d)}"
78
76do_deploy() { 79do_deploy() {
77 install -m 644 ${B}/${GRUB_IMAGE_PREFIX}${GRUB_IMAGE} ${DEPLOYDIR} 80 install -m 644 ${B}/${GRUB_IMAGE_PREFIX}${GRUB_IMAGE} ${DEPLOYDIR}
78} 81}