summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Walle <bernhard@bwalle.de>2013-06-05 15:05:34 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-06-07 20:13:32 +0200
commit1ea8872b6bfc8878f0c54c674b2f253af5582975 (patch)
tree261e77b6c0515dcb81af3cafe6cd8b7d09df861c
parent3c8b9f94fb08bf6e77bbb0e0faaf777ad386561f (diff)
downloadOSELAS.Toolchain-1ea8872b6bfc8878f0c54c674b2f253af5582975.tar.gz
zlib: Add alternative download URL
Since zlib guys move away the tarball after a new release is made, we add the mirror at the libpng site. Same as in ptxdist itself. Something for the stable branch? Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> (cherry picked from commit cd397a81ee3e0b1d2f17d163851870c0efd8471b) Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/host-zlib.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/host-zlib.make b/rules/host-zlib.make
index 8a11c73..8ab59b0 100644
--- a/rules/host-zlib.make
+++ b/rules/host-zlib.make
@@ -21,7 +21,9 @@ HOST_ZLIB_VERSION := 1.2.7
HOST_ZLIB_MD5 := 2ab442d169156f34c379c968f3f482dd
HOST_ZLIB := zlib-$(HOST_ZLIB_VERSION)
HOST_ZLIB_SUFFIX := tar.bz2
-HOST_ZLIB_URL := http://zlib.net/$(HOST_ZLIB).$(HOST_ZLIB_SUFFIX)
+HOST_ZLIB_URL := \
+ http://zlib.net/$(HOST_ZLIB).$(HOST_ZLIB_SUFFIX) \
+ $(call ptx/mirror, SF, libpng/$(HOST_ZLIB).$(HOST_ZLIB_SUFFIX))
HOST_ZLIB_SOURCE := $(SRCDIR)/$(HOST_ZLIB).$(HOST_ZLIB_SUFFIX)
HOST_ZLIB_DIR := $(HOST_BUILDDIR)/$(HOST_ZLIB)