Commit 04e92917 authored by Rafaël Carré's avatar Rafaël Carré

contrib: support using a specific commit tag in download_git

parent 282acbf1
......@@ -208,6 +208,7 @@ HOSTVARS_PIC := $(HOSTTOOLS) \
download_git = \
rm -Rf $(@:.tar.xz=) && \
$(GIT) clone $(2:%=--branch %) $(1) $(@:.tar.xz=) && \
(cd $(@:.tar.xz=) && $(GIT) checkout $(3:%= %)) && \
rm -Rf $(@:%.tar.xz=%)/.git && \
(cd $(dir $@) && \
tar cvJ $(notdir $(@:.tar.xz=))) > $@ && \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment