aboutsummaryrefslogtreecommitdiff
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
parente68a4385d4e8d9e247ac1f09d406fd2fb4e9b1de (diff)
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>
-rw-r--r--payloads/Makefile.inc5
-rw-r--r--payloads/external/FILO/Makefile10
-rw-r--r--payloads/external/GRUB2/Makefile10
-rw-r--r--payloads/external/Memtest86Plus/Makefile5
-rw-r--r--payloads/external/SeaBIOS/Makefile10
-rw-r--r--payloads/external/U-Boot/Makefile5
-rw-r--r--payloads/external/depthcharge/Makefile5
7 files changed, 40 insertions, 10 deletions
diff --git a/payloads/Makefile.inc b/payloads/Makefile.inc
index 44d1d7709c..c969c9e2d3 100644
--- a/payloads/Makefile.inc
+++ b/payloads/Makefile.inc
@@ -34,4 +34,7 @@ clean-payloads:
distclean-payloads:
$(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) distclean; )
-.PHONY: clean-payloads distclean-payloads
+print-repo-info-payloads:
+ -$(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) print-repo-info 2>/dev/null; )
+
+.PHONY: clean-payloads distclean-payloads print-repo-info-payloads
diff --git a/payloads/external/FILO/Makefile b/payloads/external/FILO/Makefile
index 6a96a22455..13d3e8f318 100644
--- a/payloads/external/FILO/Makefile
+++ b/payloads/external/FILO/Makefile
@@ -3,6 +3,9 @@ NAME-$(CONFIG_FILO_MASTER)=MASTER
TAG-$(CONFIG_FILO_STABLE)=4dbb31a64fe5b1c7e3025ab34619220609897646
NAME-$(CONFIG_FILO_STABLE)=STABLE
+project_git_repo=http://review.coreboot.org/p/filo.git
+project_dir=filo
+
unexport KCONFIG_AUTOHEADER
unexport KCONFIG_AUTOCONFIG
unexport KCONFIG_DEPENDENCIES
@@ -15,7 +18,7 @@ all: filo
checkout:
echo " GIT FILO $(NAME-y)"
test -d filo || \
- git clone http://review.coreboot.org/p/filo.git
+ git clone $(project_git_repo) $(project_dir)
cd filo && \
git checkout master && \
git remote update && \
@@ -46,4 +49,7 @@ clean:
distclean:
rm -rf filo
-.PHONY: checkout config filo clean distclean
+print-repo-info:
+ echo "$(project_git_repo) $(project_dir)"
+
+.PHONY: checkout config filo clean distclean print-repo-info
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
diff --git a/payloads/external/Memtest86Plus/Makefile b/payloads/external/Memtest86Plus/Makefile
index ee79032313..db8a51d92e 100644
--- a/payloads/external/Memtest86Plus/Makefile
+++ b/payloads/external/Memtest86Plus/Makefile
@@ -39,4 +39,7 @@ clean:
distclean:
rm -rf $(project_dir)
-.PHONY: all build fetch clean distclean
+print-repo-info:
+ echo "$(project_git_repo) $(project_dir)"
+
+.PHONY: all build fetch clean distclean print-repo-info
diff --git a/payloads/external/SeaBIOS/Makefile b/payloads/external/SeaBIOS/Makefile
index 0ac04d7a2f..862a679f1f 100644
--- a/payloads/external/SeaBIOS/Makefile
+++ b/payloads/external/SeaBIOS/Makefile
@@ -2,6 +2,9 @@ TAG-$(CONFIG_SEABIOS_MASTER)=origin/master
TAG-$(CONFIG_SEABIOS_STABLE)=b3ef39f532db52bf17457ba931da758eeb38d6b4
TAG-$(CONFIG_SEABIOS_REVISION)=$(CONFIG_SEABIOS_REVISION_ID)
+project_git_repo=http://review.coreboot.org/p/seabios.git
+project_dir=seabios
+
unexport KCONFIG_AUTOHEADER
unexport KCONFIG_AUTOCONFIG
unexport KCONFIG_DEPENDENCIES
@@ -13,7 +16,7 @@ all: build
seabios:
echo " Cloning SeaBIOS from Git"
- git clone http://review.coreboot.org/p/seabios.git seabios
+ git clone $(project_git_repo) $(project_dir)
fetch: seabios
ifeq ($(TAG-y),)
@@ -71,4 +74,7 @@ clean:
distclean:
rm -rf seabios
-.PHONY: checkout config build clean distclean clone fetch
+print-repo-info:
+ echo "$(project_git_repo) $(project_dir)"
+
+.PHONY: checkout config build clean distclean clone fetch print-repo-info
diff --git a/payloads/external/U-Boot/Makefile b/payloads/external/U-Boot/Makefile
index 255db297ff..67c60c1535 100644
--- a/payloads/external/U-Boot/Makefile
+++ b/payloads/external/U-Boot/Makefile
@@ -79,4 +79,7 @@ clean:
distclean:
rm -rf $(project_dir)
-.PHONY: config build clean distclean fetch
+print-repo-info:
+ echo "$(project_git_repo) $(project_dir)"
+
+.PHONY: config build clean distclean fetch print-repo-info
diff --git a/payloads/external/depthcharge/Makefile b/payloads/external/depthcharge/Makefile
index 4e766870fc..cf2d0a1cca 100644
--- a/payloads/external/depthcharge/Makefile
+++ b/payloads/external/depthcharge/Makefile
@@ -68,4 +68,7 @@ clean:
distclean:
rm -rf $(project_dir)
-.PHONY: checkout config build clean distclean clone fetch
+print-repo-info:
+ echo "$(project_git_repo) $(project_dir)"
+
+.PHONY: checkout config build clean distclean clone fetch print-repo-info