Changeset 8afa52c in mainline for uspace/app/binutils/Makefile


Ignore:
Timestamp:
2011-09-07T00:02:08Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5081276
Parents:
ac7c7e36
Message:

Port upgraded to version 2.21.1. Added mirror fallback for download.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/binutils/Makefile

    rac7c7e36 r8afa52c  
    3636# Information for obtaining specific binutils redistributable package.
    3737# Might be subject to change in the future.
    38 REDIST_VERSION = 2.21
     38REDIST_VERSION = 2.21.1
    3939REDIST_NAME = binutils-$(REDIST_VERSION)
    4040REDIST_FILENAME = $(REDIST_NAME).tar.bz2
    4141REDIST_SOURCE = ftp://ftp.gnu.org/gnu/binutils/
     42REDIST_MIRROR = http://www.helenos.org/binutils/
    4243
    4344# Directory for the binutils source tree.
     
    167168$(REDIST_FILENAME):
    168169        wget -c $(REDIST_SOURCE)$(REDIST_FILENAME)
     170        if [ ! -e $(REDIST_FILENAME) ]; then \
     171                wget -c $(REDIST_MIRROR)$(REDIST_FILENAME); \
     172        fi
    169173
    170174# Extract binutils source tree.
Note: See TracChangeset for help on using the changeset viewer.