payloads/external/GRUB2: Build only for supported architectures

GRUB2 doesn't support all architectures that coreboot supports.
Furthermore, coreboot's build script for GRUB2 doesn't support all of
these architectures.

Let the user select GRUB2 only when building for x86 and ARM, which are
known to work.

Change-Id: I5ef2020b2acb4cd008a57a2372734674f8b84a36
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/23171
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Jonathan Neuschäfer 2018-01-22 03:14:46 +01:00 committed by Martin Roth
parent 3934198418
commit e33f120cb8
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
config PAYLOAD_GRUB2 config PAYLOAD_GRUB2
bool "GRUB2" bool "GRUB2"
depends on ARCH_X86 || ARCH_ARM
help help
Select this option if you want to build a coreboot image Select this option if you want to build a coreboot image
with a GRUB2 payload. If you don't know what this is with a GRUB2 payload. If you don't know what this is