payloads/Memtest86Plus: Update branch name from master to main
It seems like the default branch for coreboot's Memtest86+ fork was renamed from 'master' to 'main'. TEST: Memtest builds correctly when selecting 'Main' for the Memtest86+ version option. Change-Id: I269249518019f5d0d12c57f1c14012abca86b48b Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76100 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
55d941033a
commit
981ef52e87
|
@ -319,7 +319,7 @@ payloads/external/Memtest86Plus/memtest86plus/memtest: $(DOTCONFIG)
|
|||
AS="$(AS_x86_32)" \
|
||||
CONFIG_MEMTEST_REVISION=$(CONFIG_MEMTEST_REVISION) \
|
||||
CONFIG_MEMTEST_REVISION_ID=$(CONFIG_MEMTEST_REVISION_ID) \
|
||||
CONFIG_MEMTEST_MASTER=$(CONFIG_MEMTEST_MASTER) \
|
||||
CONFIG_MEMTEST_MAIN=$(CONFIG_MEMTEST_MAIN) \
|
||||
CONFIG_MEMTEST_STABLE=$(CONFIG_MEMTEST_STABLE) \
|
||||
$(MEMTEST_SERIAL_OPTIONS) \
|
||||
MFLAGS= MAKEFLAGS=
|
||||
|
|
|
@ -11,8 +11,8 @@ config MEMTEST_STABLE
|
|||
Stable Memtest86+ version.
|
||||
|
||||
For reproducible builds, this option must be selected.
|
||||
config MEMTEST_MASTER
|
||||
bool "Master"
|
||||
config MEMTEST_MAIN
|
||||
bool "Main"
|
||||
help
|
||||
Newest Memtest86+ version.
|
||||
|
||||
|
@ -35,7 +35,7 @@ endchoice
|
|||
config MEMTEST_REVISION_ID
|
||||
string "Insert a commit's SHA-1 or a branch name"
|
||||
depends on MEMTEST_REVISION
|
||||
default "origin/master"
|
||||
default "origin/main"
|
||||
help
|
||||
The commit's SHA-1 or branch name of the revision to use.
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
## SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
TAG-$(CONFIG_MEMTEST_MASTER)=origin/master
|
||||
NAME-$(CONFIG_MEMTEST_MASTER)=Master
|
||||
TAG-$(CONFIG_MEMTEST_MAIN)=origin/main
|
||||
NAME-$(CONFIG_MEMTEST_MAIN)=Main
|
||||
TAG-$(CONFIG_MEMTEST_STABLE)=0bd34c22604660e4283316331f3e7bf8a3863753
|
||||
NAME-$(CONFIG_MEMTEST_STABLE)=Stable
|
||||
TAG-$(CONFIG_MEMTEST_REVISION)=$(CONFIG_MEMTEST_REVISION_ID)
|
||||
|
@ -26,14 +26,14 @@ endif
|
|||
false
|
||||
endif
|
||||
-cd $(project_dir); git show $(TAG-y) >/dev/null 2>&1 ; \
|
||||
if [ $$? -ne 0 ] || [ "$(TAG-y)" = "origin/master" ]; then \
|
||||
if [ $$? -ne 0 ] || [ "$(TAG-y)" = "origin/main" ]; then \
|
||||
echo " Fetching new commits from the $(project_name) git repo"; \
|
||||
git fetch; fi
|
||||
|
||||
checkout: fetch
|
||||
echo " Checking out $(project_name) revision $(NAME-y) ($(TAG-y))"
|
||||
cd $(project_dir); \
|
||||
git checkout master; \
|
||||
git checkout main; \
|
||||
git branch -D coreboot 2>/dev/null; \
|
||||
git checkout -b coreboot $(TAG-y)
|
||||
|
||||
|
|
Loading…
Reference in New Issue