[coreboot-gerrit] Patch set updated for coreboot: payloads: Add a target to print payload git urls and directories
Martin Roth (martinroth@google.com)
gerrit at coreboot.org
Mon Mar 21 04:03:46 CET 2016
Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14132
-gerrit
commit 99f3409746899afa7f141d40db12e0bbc865ad38
Author: Martin Roth <martinroth at google.com>
Date: Wed Mar 16 12:42:05 2016 -0600
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 at google.com>
---
payloads/Makefile.inc | 5 ++++-
payloads/external/FILO/Makefile | 10 ++++++++--
payloads/external/GRUB2/Makefile | 10 ++++++++--
payloads/external/Memtest86Plus/Makefile | 5 ++++-
payloads/external/SeaBIOS/Makefile | 10 ++++++++--
payloads/external/U-Boot/Makefile | 5 ++++-
payloads/external/depthcharge/Makefile | 5 ++++-
7 files changed, 40 insertions(+), 10 deletions(-)
diff --git a/payloads/Makefile.inc b/payloads/Makefile.inc
index 44d1d77..c969c9e 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 6a96a22..13d3e8f 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 11630c8..5d53922 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 ee79032..db8a51d 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 0ac04d7..862a679 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 255db29..67c60c1 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 4e76687..cf2d0a1 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
More information about the coreboot-gerrit
mailing list