summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2011-01-06 08:28:34 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2011-01-06 08:28:34 +0100
commit6a171a2bfc2326e57501c9e50bc28f0a8f820252 (patch)
tree8b5f433a277f22c7afe6ec7a2f56456c7455b06a /Makefile.in
parent8958a63759c2ae23b47e76efeed1b7fc1f22728c (diff)
buildsys: fix make release target
According to git man page the syntax for git archive should have the <tree-ish> as last argument. Indeed using git 1.5.5.6 the tarball was not properly created. Newer version (i.e. 1.6.3.3) works fine even if HEAD comes before other option. For backward compatibility use a syntax that is fine with older git. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 0a07888f0..ecb9cd994 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -475,7 +475,7 @@ distclean: clean
dist release:
$(RM) ../uClibc-$(VERSION).tar
- git archive HEAD --format=tar --prefix=uClibc-$(VERSION)/ \
+ git archive --format=tar --prefix=uClibc-$(VERSION)/ HEAD \
> ../uClibc-$(VERSION).tar
cat ../uClibc-$(VERSION).tar | bzip2 -c9 > ../uClibc-$(VERSION).tar.bz2
cat ../uClibc-$(VERSION).tar | xz -e -c8 > ../uClibc-$(VERSION).tar.xz