4.104.95
Last change
on this file since 6e490ae was
6e490ae,
checked in by Chris Johns <chrisj@…>, on 03/14/16 at 05:23:19
|
sb: Update download to check the config file for release URL control.
Provide without_release_url support in the configuration file so
the release tarball download of the kernel and tools uses the
release's top level directory and not the sources directory.
Closes #2481.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
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 | # If the RSB is released look for a release tarball else use git. |
---|
25 | # |
---|
26 | %if %{rsb_released} |
---|
27 | %source set rtems-tools %{rtems_release_url}/%{rtems_tools_version}/rtems-tools-%{rtems_tools_version}.tar.xz |
---|
28 | %define without_release_url |
---|
29 | %else |
---|
30 | # |
---|
31 | # rtems_git_commit_hash : The commit hash else the branch is tracked. |
---|
32 | # |
---|
33 | %if ! %{defined rtems_tools_version} |
---|
34 | %define rtems_tools_version HEAD |
---|
35 | %endif |
---|
36 | %if %{defined rtems_tools_git_commit_hash} |
---|
37 | %define rtems_tools_git_checkout ?checkout=%{defined rtems_tools_git_commit_hash} |
---|
38 | %else |
---|
39 | %define rtems_tools_git_checkout %{nil} |
---|
40 | %endif |
---|
41 | |
---|
42 | %source set rtems-tools git://git.rtems.org/rtems-tools.git?reset=hard?fetch?branch=%{rtems_tools_version}?pull%{rtems_tools_git_checkout} |
---|
43 | %endif |
---|
44 | |
---|
45 | # |
---|
46 | # The RTEMS Tools build instructions. |
---|
47 | # |
---|
48 | %include tools/rtems-tools-common-1.cfg |
---|
49 | %endif |
---|
Note: See
TracBrowser
for help on using the repository browser.