source: rtems-source-builder/rtems/config/tools/rtems-tools-1.cfg @ dbc11a8

Last change on this file since dbc11a8 was 4141cca, checked in by Chris Johns <chrisj@…>, on 04/11/17 at 12:12:13

Fix rtems-tools and rtems-kernel builds when released and with a release URL.

Updates #2952.

  • Property mode set to 100644
File size: 1.0 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 %if %{rsb_released}
24  %define rtems_tools_version %{rtems_version}
25 %endif
26
27 #
28 # rtems_git_commit_hash : The commit hash else the branch is tracked.
29 #
30 %if ! %{defined rtems_tools_version}
31  %define rtems_tools_version HEAD
32 %endif
33 %if %{defined rtems_tools_git_commit_hash}
34  %define rtems_tools_git_checkout ?checkout=%{defined rtems_tools_git_commit_hash}
35 %else
36  %define rtems_tools_git_checkout %{nil}
37 %endif
38
39 %source set rtems-tools git://git.rtems.org/rtems-tools.git?reset=hard?fetch?branch=%{rtems_tools_version}?pull%{rtems_tools_git_checkout}
40
41 #
42 # The RTEMS Tools build instructions.
43 #
44 %include tools/rtems-tools-common-1.cfg
45%endif
Note: See TracBrowser for help on using the repository browser.