summaryrefslogtreecommitdiffstats
path: root/rtems/config/rtems-bsp.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-06-15 21:34:38 +1200
committerChris Johns <chrisj@rtems.org>2014-06-15 21:34:38 +1200
commit912596d5fda564c08941923800c2741d56db55c6 (patch)
treed479cf7f0cbc31a2e432bf0d04cc9f137bed5001 /rtems/config/rtems-bsp.cfg
parentsb: Add support for building RTEMS 3rd party packages. (diff)
downloadrtems-source-builder-912596d5fda564c08941923800c2741d56db55c6.tar.bz2
config: Use the prefix as the tools path if no --with-tools.
To use tools not in the installed RTEMS path use --with-tools. If the --with-tools option is not supplied use the --prefix path.
Diffstat (limited to 'rtems/config/rtems-bsp.cfg')
-rw-r--r--rtems/config/rtems-bsp.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/rtems/config/rtems-bsp.cfg b/rtems/config/rtems-bsp.cfg
index dd34b0a..9d22050 100644
--- a/rtems/config/rtems-bsp.cfg
+++ b/rtems/config/rtems-bsp.cfg
@@ -9,7 +9,7 @@
#
# Keeping the package's installed path in the RTEMS install path
# and separate to the tools lets the tools version vary
-# independently.
+# independently. If --with-tools is not provided use the prefix.
#
%if %{_host} == %{nil}
@@ -17,11 +17,11 @@
%endif
%ifn %{defined with_rtems_bsp}
- %error No RTEMS BSP specified: --with-rtems-bsp=bsp
+ %define with_tools %{_prefix}
%endif
%ifn %{defined with_tools}
- %error No RTEMS tools specified: --with-tools=path
+
%endif
#