Changeset 9a15c40 in rtems-source-builder for source-builder/config/gcc-4.8-1.cfg


Ignore:
Timestamp:
05/13/14 13:26:09 (9 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
1b29191
Parents:
e074e75
Message:

sb: Implement %source and %patch to manage source and patches.

Remove the numbered source and patches and automatically manage
sources and patches. This removes the overhead in maintaining large
collections of patches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/config/gcc-4.8-1.cfg

    re074e75 r9a15c40  
    1212# GCC core and G++
    1313#
    14 %ifn %{defined Source0}
    15  Source0: ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.bz2
    16 %endif
     14%source set gcc ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.bz2
    1715
    1816#
    1917# Newlib
    2018#
    21 %ifn %{defined Source10}
    22  Source10: ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
    23 %endif
     19%source set newlib ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
    2420
    2521#
    2622# Packages GCC requires
    2723#
    28 %ifn %{defined Source20}
    29  Source20: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
    30 %endif
    31 %ifn %{defined Source21}
    32  Source21: http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
    33 %endif
    34 %ifn %{defined Source22}
    35  Source22: ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2
    36 %endif
     24%source set mpfr http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
     25%source set mpc http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
     26%source set gmp ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2
    3727
    3828#
Note: See TracChangeset for help on using the changeset viewer.