Changeset 50593d4 in rtems-source-builder


Ignore:
Timestamp:
Apr 17, 2018, 8:20:08 AM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
1645deb
Parents:
cabaff8
git-author:
Sebastian Huber <sebastian.huber@…> (04/17/18 08:20:08)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/18/18 05:50:33)
Message:

5: Use a specific RTEMS tools version

Download via cgit archive.

Close #3403.

Location:
rtems/config/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtems/config/tools/rtems-tools-5-1.cfg

    rcabaff8 r50593d4  
    88%if %{rsb_released}
    99 %define rtems_tools_version %{rsb_version}
     10%else
     11 %define rtems_tools_version ec419a05ee52869a7d5b8712ea8e7a7d74fde096
     12 %define rtems_tools_source rtems-tools-%{rtems_tools_version}
     13 %source set rtems-tools https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.bz2
     14 %hash sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 af1cda88144583bd9471056291d0a19e8ace0e45efded01e7d32014919a8e57e8a47a58497b2c9201dff925316a8b9cfd0d0e6000f4755471fdf5468b5daa517
    1015%endif
    1116
    1217#
    13 # The RTEMS Tools build instructions. We use tools 1.
     18# Optionally enable/disable building the RTEMS Tools via the command line.
    1419#
    15 %include tools/rtems-tools-1.cfg
     20%if %{defined with_rtems_tools}
     21 %define rtems_tools_build 1
     22%endif
     23%if %{defined without_rtems_tools}
     24 %define rtems_tools_build 0
     25%endif
     26
     27#
     28# Build by default.
     29#
     30%if ! %{defined rtems_tools_build}
     31 %define rtems_tools_build 1
     32%endif
     33
     34%if %{rtems_tools_build}
     35 #
     36 # The RTEMS Tools build instructions.
     37 #
     38 %include tools/rtems-tools-common-1.cfg
     39%endif
  • rtems/config/tools/rtems-tools-common-1.cfg

    rcabaff8 r50593d4  
    2222  build_top=$(pwd)
    2323
    24   %if %{rsb_released}
    25     rtems_tools_source="rtems-tools-%{rtems_tools_version}"
     24  %if ! %{defined rtems_tools_source}
     25    %if %{rsb_released}
     26      rtems_tools_source="rtems-tools-%{rtems_tools_version}"
     27    %else
     28      rtems_tools_source="rtems-tools.git"
     29    %endif
    2630  %else
    27     rtems_tools_source="rtems-tools.git"
     31    rtems_tools_source=%{rtems_tools_source}
    2832  %endif
     33
    2934  source_dir_rtems_tools=${rtems_tools_source}
    30 
    3135  %source setup rtems-tools -q -n ${rtems_tools_source}
    3236  %patch setup rtems-tools -p1
Note: See TracChangeset for help on using the changeset viewer.