Rev | Line | |
---|
[c751652] | 1 | # |
---|
| 2 | # RTEMS Tools for 6. |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | # |
---|
| 6 | # The RTEMS Tools version is set to the RSB version or the RTEMS version. |
---|
| 7 | # |
---|
| 8 | %if %{rsb_released} |
---|
| 9 | %define rtems_tools_version %{rsb_version} |
---|
| 10 | %define rtems_tools_source rtems-tools-%{rtems_tools_version} |
---|
| 11 | %define rtems_tools_ext xz |
---|
| 12 | %else |
---|
[d79b044] | 13 | %define rtems_tools_version 97fe5bf8a3868e0632e0e783042385d27c4958ba |
---|
[c751652] | 14 | %define rtems_tools_ext bz2 |
---|
| 15 | %endif |
---|
| 16 | |
---|
| 17 | %define rtems_tools_source rtems-tools-%{rtems_tools_version} |
---|
| 18 | %source set rtems-tools https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.%{rtems_tools_ext} |
---|
[d79b044] | 19 | %hash sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 9fe98cd724bd548c2414a78ae789ee3cbf9df282b4256d85f16b734aecaeb6eaed216c7485cfadff072394f8656d71e049e5122e30b7c22b88695ca09850ef07 |
---|
[c751652] | 20 | |
---|
| 21 | # |
---|
| 22 | # Optionally enable/disable building the RTEMS Tools via the command line. |
---|
| 23 | # |
---|
| 24 | %if %{defined with_rtems_tools} |
---|
| 25 | %define rtems_tools_build 1 |
---|
| 26 | %endif |
---|
| 27 | %if %{defined without_rtems_tools} |
---|
| 28 | %define rtems_tools_build 0 |
---|
| 29 | %endif |
---|
| 30 | |
---|
| 31 | # |
---|
| 32 | # Build by default. |
---|
| 33 | # |
---|
| 34 | %if ! %{defined rtems_tools_build} |
---|
| 35 | %define rtems_tools_build 1 |
---|
| 36 | %endif |
---|
| 37 | |
---|
| 38 | %if %{rtems_tools_build} |
---|
| 39 | # |
---|
| 40 | # The RTEMS Tools build instructions. |
---|
| 41 | # |
---|
| 42 | %include tools/rtems-tools-common-1.cfg |
---|
| 43 | %endif |
---|
Note: See
TracBrowser
for help on using the repository browser.