~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to uspace/app/binutils/Makefile

  • Committer: Petr Koupy
  • Date: 2011-09-07 00:12:22 UTC
  • mfrom: (938.1.54 binutils)
  • mto: This revision was merged to the branch mainline in revision 1211.
  • Revision ID: petr.koupy@gmail.com-20110907001222-ip4lwfi5056m00if
Merge binutils changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 
36
36
# Information for obtaining specific binutils redistributable package.
37
37
# Might be subject to change in the future.
38
 
REDIST_VERSION = 2.21
 
38
REDIST_VERSION = 2.21.1
39
39
REDIST_NAME = binutils-$(REDIST_VERSION)
40
40
REDIST_FILENAME = $(REDIST_NAME).tar.bz2
41
41
REDIST_SOURCE = ftp://ftp.gnu.org/gnu/binutils/
 
42
REDIST_MIRROR = http://www.helenos.org/binutils/
42
43
 
43
44
# Directory for the binutils source tree.
44
45
REDIST_DIR = ./redist
166
167
# Download binutils redistributable package.
167
168
$(REDIST_FILENAME):
168
169
        wget -c $(REDIST_SOURCE)$(REDIST_FILENAME)
 
170
        if [ ! -e $(REDIST_FILENAME) ]; then \
 
171
                wget -c $(REDIST_MIRROR)$(REDIST_FILENAME); \
 
172
        fi
169
173
 
170
174
# Extract binutils source tree.
171
175
$(REDIST_DETECT): $(REDIST_FILENAME)