summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools/rtems-tools-4.11-1.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-12-11 10:48:56 +1100
committerChris Johns <chrisj@rtems.org>2015-12-11 12:11:54 +1100
commitf9f6f6c364b9c73d212179a68c8c4482e586f75e (patch)
tree1482c295555bba46bb19397161656920a284bb63 /rtems/config/tools/rtems-tools-4.11-1.cfg
parentMake CVS optional. We should avoid using it. (diff)
downloadrtems-source-builder-f9f6f6c364b9c73d212179a68c8c4482e586f75e.tar.bz2
Set the RTEMS Tools and Kernel version based on a release.
Diffstat (limited to 'rtems/config/tools/rtems-tools-4.11-1.cfg')
-rw-r--r--rtems/config/tools/rtems-tools-4.11-1.cfg8
1 files changed, 6 insertions, 2 deletions
diff --git a/rtems/config/tools/rtems-tools-4.11-1.cfg b/rtems/config/tools/rtems-tools-4.11-1.cfg
index f1c306d..67f8fe2 100644
--- a/rtems/config/tools/rtems-tools-4.11-1.cfg
+++ b/rtems/config/tools/rtems-tools-4.11-1.cfg
@@ -3,9 +3,13 @@
#
#
-# Track the release branch.
+# The RTEMS Tools version is set to the RSB version or the RTEMS version.
#
-%define rtems_tools_version %{rsb_version}
+%if %{rsb_released}
+ %define rtems_tools_version %{rsb_version}
+%else
+ %define rtems_tools_version %{rtems_version}
+%endif
#
# The RTEMS Tools build instructions. We use GIT Release 1.