5
Rev | Line | |
---|
[3ffbfc8] | 1 | # |
---|
[637061c] | 2 | # RTEMS Tools for 5. |
---|
[3ffbfc8] | 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} |
---|
[f0b0a70] | 10 | %define rtems_tools_source rtems-tools-%{rtems_tools_version} |
---|
| 11 | %define rtems_tools_ext xz |
---|
[50593d4] | 12 | %else |
---|
[d48abf4] | 13 | %define rtems_tools_version 29ad0ec7a8ec8aae5afeb32ef8be03707f626843 |
---|
[f0b0a70] | 14 | %define rtems_tools_ext bz2 |
---|
[3ffbfc8] | 15 | %endif |
---|
| 16 | |
---|
[f0b0a70] | 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} |
---|
| 19 | %hash sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \ |
---|
[d48abf4] | 20 | da30ce5525a7efb6aeef9636112dc02b3642d11e73fd01d4b425db98f6c8928370cfb987b0c6c22c329b445f9ccf1e0fd354ec2b14d5834c0b62be3b2a0ca208 |
---|
[f0b0a70] | 21 | |
---|
[3ffbfc8] | 22 | # |
---|
[50593d4] | 23 | # Optionally enable/disable building the RTEMS Tools via the command line. |
---|
[3ffbfc8] | 24 | # |
---|
[50593d4] | 25 | %if %{defined with_rtems_tools} |
---|
| 26 | %define rtems_tools_build 1 |
---|
| 27 | %endif |
---|
| 28 | %if %{defined without_rtems_tools} |
---|
| 29 | %define rtems_tools_build 0 |
---|
| 30 | %endif |
---|
| 31 | |
---|
| 32 | # |
---|
| 33 | # Build by default. |
---|
| 34 | # |
---|
| 35 | %if ! %{defined rtems_tools_build} |
---|
| 36 | %define rtems_tools_build 1 |
---|
| 37 | %endif |
---|
| 38 | |
---|
| 39 | %if %{rtems_tools_build} |
---|
| 40 | # |
---|
| 41 | # The RTEMS Tools build instructions. |
---|
| 42 | # |
---|
| 43 | %include tools/rtems-tools-common-1.cfg |
---|
| 44 | %endif |
---|
Note: See
TracBrowser
for help on using the repository browser.