diff options
author | Kamil Dziezyk <kamil.dziezyk@arm.com> | 2022-01-13 12:16:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-14 09:25:31 +0000 |
commit | 641149f449cfc7addad994cedf3b029814363f8e (patch) | |
tree | 257c586a05a018c47af3e4b22c5df8cc996c3ef8 /meta/recipes-bsp | |
parent | 3383be190e54ed681be258430acecf5f4faebc0c (diff) | |
download | poky-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.bb | 3 |
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() { | |||
73 | GRUB_BUILDIN ?= "boot linux ext2 fat serial part_msdos part_gpt normal \ | 73 | GRUB_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 | ||
77 | GRUB_BUILDIN:append:aarch64 = "${@bb.utils.contains('DISTRO_FEATURES', 'xen', ' xen_boot', '', d)}" | ||
78 | |||
76 | do_deploy() { | 79 | do_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 | } |