From 2eb95f3db9bde95da47b6bb776a7eb1ec2bfd835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Mon, 20 Nov 2017 01:56:41 +0100 Subject: payloads/external: Add a stable version of GRUB2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should make reproducible builds of coreboot with GRUB2 easier. Change-Id: If855042945ab34f34c554e7490c811ec7b256980 Signed-off-by: Jonathan Neuschäfer Reviewed-on: https://review.coreboot.org/22527 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer --- payloads/external/GRUB2/Kconfig | 5 +++++ payloads/external/GRUB2/Makefile | 2 ++ payloads/external/Makefile.inc | 1 + 3 files changed, 8 insertions(+) (limited to 'payloads') diff --git a/payloads/external/GRUB2/Kconfig b/payloads/external/GRUB2/Kconfig index 656f7c9e23..8b199fa1d3 100644 --- a/payloads/external/GRUB2/Kconfig +++ b/payloads/external/GRUB2/Kconfig @@ -4,6 +4,11 @@ choice prompt "GRUB2 version" default GRUB2_MASTER +config GRUB2_STABLE + bool "2.02" + help + Stable GRUB2 version + config GRUB2_MASTER bool "HEAD" help diff --git a/payloads/external/GRUB2/Makefile b/payloads/external/GRUB2/Makefile index 71c7352d3b..db15d4676e 100644 --- a/payloads/external/GRUB2/Makefile +++ b/payloads/external/GRUB2/Makefile @@ -1,7 +1,9 @@ TAG-$(CONFIG_GRUB2_MASTER)= TAG-$(CONFIG_GRUB2_REVISION)=$(CONFIG_GRUB2_REVISION_ID) +TAG-$(CONFIG_GRUB2_STABLE)=e54c99aaff5e5f6f5d3b06028506c57e66d8ef77 NAME-$(CONFIG_GRUB2_MASTER)=HEAD NAME-$(CONFIG_GRUB2_REVISION)=$(CONFIG_GRUB2_REVISION_ID) +NAME-$(CONFIG_GRUB2_STABLE)=2.02 project_git_repo=https://git.savannah.gnu.org/git/grub.git/ project_dir=grub2 diff --git a/payloads/external/Makefile.inc b/payloads/external/Makefile.inc index 0a9b3d6844..4abdd70789 100644 --- a/payloads/external/Makefile.inc +++ b/payloads/external/Makefile.inc @@ -158,6 +158,7 @@ grub2: $(obj)/config.h CC="$(CC_x86_32)" LD="$(LD_x86_32)" \ OBJCOPY="$(OBJCOPY_x86_32)" STRIP="$(STRIP_x86_32)" \ CONFIG_DEP="$(abspath $(obj)/config.h)" \ + CONFIG_GRUB2_STABLE=$(CONFIG_GRUB2_STABLE) \ CONFIG_GRUB2_MASTER=$(CONFIG_GRUB2_MASTER) \ CONFIG_GRUB2_REVISION=$(CONFIG_GRUB2_REVISION) \ CONFIG_GRUB2_REVISION_ID=$(CONFIG_GRUB2_REVISION_ID) \ -- cgit v1.2.3