Line | |
---|
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 |
---|
13 | %define rtems_tools_version 323007a6b520140a20b2e268c90b78ff67afaf45 |
---|
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} |
---|
19 | %hash sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \ |
---|
20 | yo5i1HEaYyOOX8JJGr+kok0vIEZGpXjeZmA44gqTow101PhtlwhebvgTS0SeMe8L68wTDqdjZe5QVnsjKgYOhw== |
---|
21 | |
---|
22 | # |
---|
23 | # Optionally enable/disable building the RTEMS Tools via the command line. |
---|
24 | # |
---|
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.