diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2017-11-20 01:56:41 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2017-11-30 17:48:22 +0000 |
commit | 2eb95f3db9bde95da47b6bb776a7eb1ec2bfd835 (patch) | |
tree | 87d465ed1ebd6fb6b850b96b5e4ec6b539ac829c | |
parent | 3ead8ae23d3cc1b1bd201f321d2e3decc0a7e9b0 (diff) |
payloads/external: Add a stable version of GRUB2
This should make reproducible builds of coreboot with GRUB2 easier.
Change-Id: If855042945ab34f34c554e7490c811ec7b256980
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/22527
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r-- | payloads/external/GRUB2/Kconfig | 5 | ||||
-rw-r--r-- | payloads/external/GRUB2/Makefile | 2 | ||||
-rw-r--r-- | payloads/external/Makefile.inc | 1 |
3 files changed, 8 insertions, 0 deletions
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) \ |