summaryrefslogtreecommitdiff
path: root/payloads/external/GRUB2
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-03-16 12:42:05 -0600
committerMartin Roth <martinroth@google.com>2016-03-21 14:32:02 +0100
commitae269c0276d5a0938b76cdd1561f504a7cc2a858 (patch)
tree8efb4a087b445e3a33b820f8915d8eef006b07a4 /payloads/external/GRUB2
parente68a4385d4e8d9e247ac1f09d406fd2fb4e9b1de (diff)
downloadcoreboot-ae269c0276d5a0938b76cdd1561f504a7cc2a858.tar.xz
payloads: Add a target to print payload git urls and directories
Being able to fetch this list will allow the jenkins builder to securely fetch the external payloads so we can start testing payload builds. Change-Id: I777229216b2f11f0f427cd5f8cfa003da4171a77 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/14132 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/external/GRUB2')
-rw-r--r--payloads/external/GRUB2/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/payloads/external/GRUB2/Makefile b/payloads/external/GRUB2/Makefile
index 11630c8469..5d53922a33 100644
--- a/payloads/external/GRUB2/Makefile
+++ b/payloads/external/GRUB2/Makefile
@@ -1,6 +1,9 @@
TAG-$(CONFIG_GRUB2_MASTER)=
NAME-$(CONFIG_GRUB2_MASTER)=HEAD
+project_git_repo=git://git.sv.gnu.org/grub.git
+project_dir=grub2
+
unexport KCONFIG_AUTOCONFIG
unexport CFLAGS
unexport CPPFLAGS
@@ -22,7 +25,7 @@ all: grub2
checkout:
echo " GIT GRUB2 $(NAME-y)"
test -d grub2 || \
- git clone git://git.sv.gnu.org/grub.git grub2
+ git clone $(project_git_repo) $(project_dir)
cd grub2 && \
git checkout master && \
git pull; \
@@ -50,4 +53,7 @@ clean:
distclean:
rm -rf grub2
-.PHONY: checkout config grub2 clean distclean
+print-repo-info:
+ echo "$(project_git_repo) $(project_dir)"
+
+.PHONY: checkout config grub2 clean distclean print-repo-info