summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools/rtems-tools-common-1.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-12-13 15:10:04 +1100
committerChris Johns <chrisj@rtems.org>2015-12-13 15:22:04 +1100
commit00b60d74b2c6d648ce511d6fcd02c5bbe9680a38 (patch)
treebe33fabe995b1f5cf3f3dca076a20b84bf04339c /rtems/config/tools/rtems-tools-common-1.cfg
parentRemove RTEMS 4.11 unstable. (diff)
downloadrtems-source-builder-00b60d74b2c6d648ce511d6fcd02c5bbe9680a38.tar.bz2
Fix the building of the RTEMS Tools from a tar file.
Diffstat (limited to 'rtems/config/tools/rtems-tools-common-1.cfg')
-rw-r--r--rtems/config/tools/rtems-tools-common-1.cfg7
1 files changed, 5 insertions, 2 deletions
diff --git a/rtems/config/tools/rtems-tools-common-1.cfg b/rtems/config/tools/rtems-tools-common-1.cfg
index e1921c3..0de16ba 100644
--- a/rtems/config/tools/rtems-tools-common-1.cfg
+++ b/rtems/config/tools/rtems-tools-common-1.cfg
@@ -21,10 +21,13 @@ License: BSD-2-Caluse + GPL-2.0
# target location and 'cd ..' fails.
build_top=$(pwd)
- source_dir_rtems_tools="%{name}"
- %source setup rtems-tools -q -D -n %{name}
+ rtems_tools_source="rtems-tools-%{rtems_tools_version}"
+
+ %source setup rtems-tools -q -n ${rtems_tools_source}
%patch setup rtems-tools -p1
+ source_dir_rtems_tools=${rtems_tools_source}
+
cd ${build_top}
%build