5
Last change
on this file since 44ebcc5 was
44ebcc5,
checked in by Chris Johns <chrisj@…>, on 04/10/17 at 07:30:06
|
Fix the tools and kernel source URL when released to use sources .
Remove %define without_release_url so the standard release URL processing
is used. This requires the tools and kernel source is available in the
releases sources directory.
Updates #2952.
|
-
Property mode set to
100644
|
File size:
961 bytes
|
Line | |
---|
1 | # |
---|
2 | # RTEMS Tools from git for a release. |
---|
3 | # |
---|
4 | |
---|
5 | # |
---|
6 | # Optionally enable/disable building the RTEMS Tools via the command line. |
---|
7 | # |
---|
8 | %if %{defined with_rtems_tools} |
---|
9 | %define rtems_tools_build 1 |
---|
10 | %endif |
---|
11 | %if %{defined without_rtems_tools} |
---|
12 | %define rtems_tools_build 0 |
---|
13 | %endif |
---|
14 | |
---|
15 | # |
---|
16 | # Build by default. |
---|
17 | # |
---|
18 | %if ! %{defined rtems_tools_build} |
---|
19 | %define rtems_tools_build 1 |
---|
20 | %endif |
---|
21 | |
---|
22 | %if %{rtems_tools_build} |
---|
23 | # |
---|
24 | # rtems_git_commit_hash : The commit hash else the branch is tracked. |
---|
25 | # |
---|
26 | %if ! %{defined rtems_tools_version} |
---|
27 | %define rtems_tools_version HEAD |
---|
28 | %endif |
---|
29 | %if %{defined rtems_tools_git_commit_hash} |
---|
30 | %define rtems_tools_git_checkout ?checkout=%{defined rtems_tools_git_commit_hash} |
---|
31 | %else |
---|
32 | %define rtems_tools_git_checkout %{nil} |
---|
33 | %endif |
---|
34 | |
---|
35 | %source set rtems-tools git://git.rtems.org/rtems-tools.git?reset=hard?fetch?branch=%{rtems_tools_version}?pull%{rtems_tools_git_checkout} |
---|
36 | |
---|
37 | # |
---|
38 | # The RTEMS Tools build instructions. |
---|
39 | # |
---|
40 | %include tools/rtems-tools-common-1.cfg |
---|
41 | %endif |
---|
Note: See
TracBrowser
for help on using the repository browser.