1 | # |
---|
2 | # Manage RTEMS GCC/Newlib specific patches in the build sets |
---|
3 | # |
---|
4 | %if %{defined rtems_gcc_patch1} |
---|
5 | Patch1: %{rtems_gcc_patch1} |
---|
6 | %if %{defined rtems_gcc_patch1_opts} |
---|
7 | %define patch1_opts %{rtems_gcc_patch1_opts} |
---|
8 | %endif |
---|
9 | %endif |
---|
10 | %if %{defined rtems_gcc_patch2} |
---|
11 | Patch2: %{rtems_gcc_patch2} |
---|
12 | %if %{defined rtems_gcc_patch2_opts} |
---|
13 | %define patch2_opts %{rtems_gcc_patch2_opts} |
---|
14 | %endif |
---|
15 | %endif |
---|
16 | %if %{defined rtems_gcc_patch3} |
---|
17 | Patch3: %{rtems_gcc_patch3} |
---|
18 | %if %{defined rtems_gcc_patch3_opts} |
---|
19 | %define patch3_opts %{rtems_gcc_patch3_opts} |
---|
20 | %endif |
---|
21 | %endif |
---|
22 | %if %{defined rtems_gcc_patch4} |
---|
23 | Patch4: %{rtems_gcc_patch4} |
---|
24 | %if %{defined rtems_gcc_patch4_opts} |
---|
25 | %define patch4_opts %{rtems_gcc_patch4_opts} |
---|
26 | %endif |
---|
27 | %endif |
---|
28 | %if %{defined rtems_gcc_patch11} |
---|
29 | Patch11: %{rtems_gcc_patch11} |
---|
30 | %if %{defined rtems_gcc_patch11_opts} |
---|
31 | %define patch11_opts %{rtems_gcc_patch11_opts} |
---|
32 | %endif |
---|
33 | %endif |
---|
34 | %if %{defined rtems_gcc_patch12} |
---|
35 | Patch12: %{rtems_gcc_patch12} |
---|
36 | %if %{defined rtems_gcc_patch12_opts} |
---|
37 | %define patch12_opts %{rtems_gcc_patch12_opts} |
---|
38 | %endif |
---|
39 | %endif |
---|
40 | %if %{defined rtems_gcc_patch13} |
---|
41 | Patch13: %{rtems_gcc_patch13} |
---|
42 | %if %{defined rtems_gcc_patch13_opts} |
---|
43 | %define patch13_opts %{rtems_gcc_patch13_opts} |
---|
44 | %endif |
---|
45 | %endif |
---|
46 | %if %{defined rtems_gcc_patch14} |
---|
47 | Patch14: %{rtems_gcc_patch14} |
---|
48 | %if %{defined rtems_gcc_patch14_opts} |
---|
49 | %define patch14_opts %{rtems_gcc_patch14_opts} |
---|
50 | %endif |
---|
51 | %endif |
---|