From e33f120cb808b946f3052019c9e4cf54b086491a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Mon, 22 Jan 2018 03:14:46 +0100 Subject: [PATCH] payloads/external/GRUB2: Build only for supported architectures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/23171 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Ronald G. Minnich --- payloads/external/GRUB2/Kconfig.name | 1 + 1 file changed, 1 insertion(+) diff --git a/payloads/external/GRUB2/Kconfig.name b/payloads/external/GRUB2/Kconfig.name index cf23cf8ea9..fe60d76dc3 100644 --- a/payloads/external/GRUB2/Kconfig.name +++ b/payloads/external/GRUB2/Kconfig.name @@ -1,5 +1,6 @@ config PAYLOAD_GRUB2 bool "GRUB2" + depends on ARCH_X86 || ARCH_ARM help Select this option if you want to build a coreboot image with a GRUB2 payload. If you don't know what this is