summaryrefslogtreecommitdiffstats
path: root/package/glibc/glibc.mk
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-11-13 22:30:17 +0100
committerPeter Korsgaard <peter@korsgaard.com>2017-11-14 14:04:16 +0100
commitd84397ab79e20a51d44a11db7d5572d0423f15b2 (patch)
treeac8a79937bc19db83e8121846f48ca4384012501 /package/glibc/glibc.mk
parentf90f28a6dfe85439d11e5fd83f2462ff29502e11 (diff)
downloadbuildroot-d84397ab79e20a51d44a11db7d5572d0423f15b2.tar.gz
buildroot-d84397ab79e20a51d44a11db7d5572d0423f15b2.zip
package/glibc: switch to downloading a tarball
Currently, we do a full git clone of the repository, which takes quite some time, especially on slow networks. This was done like that because the initial patch was using the official repository as the source of the download, and that repository did not offer remotely-generated tarballs. But now we've switched to using a mirror on github, which does provide such a tarball, which provides faster downloads. Use that. However, the tarball from github differs from the one we were generating locally, because the paths inside are different. WE used to create a archive with paths starting with glibc-glibc-2.26-73-g4b692dfb95[...], while github does away with the git-describe prefix, and generates paths that start with just glibc-4b692dffb95[...]. The content are exactly identicall (checked with a diff), though. Update the hash accordingly. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Waldemar Brodkorb <wbx@openadk.org> Cc: Romain Naour <romain.naour@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/glibc/glibc.mk')
-rw-r--r--package/glibc/glibc.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk
index 5911dfec5f..d99b524ef9 100644
--- a/package/glibc/glibc.mk
+++ b/package/glibc/glibc.mk
@@ -18,8 +18,7 @@ GLIBC_VERSION = glibc-2.26-73-g4b692dffb95ac4812b161eb6a16113d7e824982e
# When updating the version, check it on the official repository;
# *NEVER* decide on a version string by looking at the mirror.
# Then check that the mirror has been synced already (happens once a day.)
-GLIBC_SITE = https://github.com/bminor/glibc.git
-GLIBC_SITE_METHOD = git
+GLIBC_SITE = $(call github,bminor,glibc,$(GLIBC_VERSION))
endif
GLIBC_SRC_SUBDIR = .
OpenPOWER on IntegriCloud