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>
This commit is contained in:
parent
e68a4385d4
commit
ae269c0276
|
@ -34,4 +34,7 @@ clean-payloads:
|
||||||
distclean-payloads:
|
distclean-payloads:
|
||||||
$(foreach payload, $(PAYLOADS_LIST), $(MAKE) -C $(payload) distclean; )
|
$(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
|
||||||
|
|
|
@ -3,6 +3,9 @@ NAME-$(CONFIG_FILO_MASTER)=MASTER
|
||||||
TAG-$(CONFIG_FILO_STABLE)=4dbb31a64fe5b1c7e3025ab34619220609897646
|
TAG-$(CONFIG_FILO_STABLE)=4dbb31a64fe5b1c7e3025ab34619220609897646
|
||||||
NAME-$(CONFIG_FILO_STABLE)=STABLE
|
NAME-$(CONFIG_FILO_STABLE)=STABLE
|
||||||
|
|
||||||
|
project_git_repo=http://review.coreboot.org/p/filo.git
|
||||||
|
project_dir=filo
|
||||||
|
|
||||||
unexport KCONFIG_AUTOHEADER
|
unexport KCONFIG_AUTOHEADER
|
||||||
unexport KCONFIG_AUTOCONFIG
|
unexport KCONFIG_AUTOCONFIG
|
||||||
unexport KCONFIG_DEPENDENCIES
|
unexport KCONFIG_DEPENDENCIES
|
||||||
|
@ -15,7 +18,7 @@ all: filo
|
||||||
checkout:
|
checkout:
|
||||||
echo " GIT FILO $(NAME-y)"
|
echo " GIT FILO $(NAME-y)"
|
||||||
test -d filo || \
|
test -d filo || \
|
||||||
git clone http://review.coreboot.org/p/filo.git
|
git clone $(project_git_repo) $(project_dir)
|
||||||
cd filo && \
|
cd filo && \
|
||||||
git checkout master && \
|
git checkout master && \
|
||||||
git remote update && \
|
git remote update && \
|
||||||
|
@ -46,4 +49,7 @@ clean:
|
||||||
distclean:
|
distclean:
|
||||||
rm -rf filo
|
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
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
TAG-$(CONFIG_GRUB2_MASTER)=
|
TAG-$(CONFIG_GRUB2_MASTER)=
|
||||||
NAME-$(CONFIG_GRUB2_MASTER)=HEAD
|
NAME-$(CONFIG_GRUB2_MASTER)=HEAD
|
||||||
|
|
||||||
|
project_git_repo=git://git.sv.gnu.org/grub.git
|
||||||
|
project_dir=grub2
|
||||||
|
|
||||||
unexport KCONFIG_AUTOCONFIG
|
unexport KCONFIG_AUTOCONFIG
|
||||||
unexport CFLAGS
|
unexport CFLAGS
|
||||||
unexport CPPFLAGS
|
unexport CPPFLAGS
|
||||||
|
@ -22,7 +25,7 @@ all: grub2
|
||||||
checkout:
|
checkout:
|
||||||
echo " GIT GRUB2 $(NAME-y)"
|
echo " GIT GRUB2 $(NAME-y)"
|
||||||
test -d grub2 || \
|
test -d grub2 || \
|
||||||
git clone git://git.sv.gnu.org/grub.git grub2
|
git clone $(project_git_repo) $(project_dir)
|
||||||
cd grub2 && \
|
cd grub2 && \
|
||||||
git checkout master && \
|
git checkout master && \
|
||||||
git pull; \
|
git pull; \
|
||||||
|
@ -50,4 +53,7 @@ clean:
|
||||||
distclean:
|
distclean:
|
||||||
rm -rf grub2
|
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
|
||||||
|
|
|
@ -39,4 +39,7 @@ clean:
|
||||||
distclean:
|
distclean:
|
||||||
rm -rf $(project_dir)
|
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
|
||||||
|
|
|
@ -2,6 +2,9 @@ TAG-$(CONFIG_SEABIOS_MASTER)=origin/master
|
||||||
TAG-$(CONFIG_SEABIOS_STABLE)=b3ef39f532db52bf17457ba931da758eeb38d6b4
|
TAG-$(CONFIG_SEABIOS_STABLE)=b3ef39f532db52bf17457ba931da758eeb38d6b4
|
||||||
TAG-$(CONFIG_SEABIOS_REVISION)=$(CONFIG_SEABIOS_REVISION_ID)
|
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_AUTOHEADER
|
||||||
unexport KCONFIG_AUTOCONFIG
|
unexport KCONFIG_AUTOCONFIG
|
||||||
unexport KCONFIG_DEPENDENCIES
|
unexport KCONFIG_DEPENDENCIES
|
||||||
|
@ -13,7 +16,7 @@ all: build
|
||||||
|
|
||||||
seabios:
|
seabios:
|
||||||
echo " Cloning SeaBIOS from Git"
|
echo " Cloning SeaBIOS from Git"
|
||||||
git clone http://review.coreboot.org/p/seabios.git seabios
|
git clone $(project_git_repo) $(project_dir)
|
||||||
|
|
||||||
fetch: seabios
|
fetch: seabios
|
||||||
ifeq ($(TAG-y),)
|
ifeq ($(TAG-y),)
|
||||||
|
@ -71,4 +74,7 @@ clean:
|
||||||
distclean:
|
distclean:
|
||||||
rm -rf seabios
|
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
|
||||||
|
|
|
@ -79,4 +79,7 @@ clean:
|
||||||
distclean:
|
distclean:
|
||||||
rm -rf $(project_dir)
|
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
|
||||||
|
|
|
@ -68,4 +68,7 @@ clean:
|
||||||
distclean:
|
distclean:
|
||||||
rm -rf $(project_dir)
|
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
|
||||||
|
|
Loading…
Reference in New Issue