summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools/rtems-tools-common-1.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-12-15 11:15:28 +1100
committerChris Johns <chrisj@rtems.org>2015-12-15 11:15:28 +1100
commit3ffbfc809291e06b606cdf16539cc7d776b15877 (patch)
treeb7b2e88037e88d40e50a65c17a0866ab048a5882 /rtems/config/tools/rtems-tools-common-1.cfg
parentDownload source from RTEMS if a release. (diff)
downloadrtems-source-builder-3ffbfc809291e06b606cdf16539cc7d776b15877.tar.bz2
Fix 4.11/rtems-tools so it builds from git.
Diffstat (limited to 'rtems/config/tools/rtems-tools-common-1.cfg')
-rw-r--r--rtems/config/tools/rtems-tools-common-1.cfg6
1 files changed, 5 insertions, 1 deletions
diff --git a/rtems/config/tools/rtems-tools-common-1.cfg b/rtems/config/tools/rtems-tools-common-1.cfg
index 0de16ba..60aa5c1 100644
--- a/rtems/config/tools/rtems-tools-common-1.cfg
+++ b/rtems/config/tools/rtems-tools-common-1.cfg
@@ -21,7 +21,11 @@ License: BSD-2-Caluse + GPL-2.0
# target location and 'cd ..' fails.
build_top=$(pwd)
- rtems_tools_source="rtems-tools-%{rtems_tools_version}"
+ %if %{rsb_released}
+ rtems_tools_source="rtems-tools-%{rtems_tools_version}"
+ %else
+ rtems_tools_source="rtems-tools.git"
+ %endif
%source setup rtems-tools -q -n ${rtems_tools_source}
%patch setup rtems-tools -p1