From ae269c0276d5a0938b76cdd1561f504a7cc2a858 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 16 Mar 2016 12:42:05 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/14132 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/external/GRUB2/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'payloads/external/GRUB2') 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 -- cgit v1.2.3