diff options
author | Chris Johns <chrisj@rtems.org> | 2014-06-15 21:34:38 +1200 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-06-15 21:34:38 +1200 |
commit | 912596d5fda564c08941923800c2741d56db55c6 (patch) | |
tree | d479cf7f0cbc31a2e432bf0d04cc9f137bed5001 /rtems/config/rtems-bsp.cfg | |
parent | sb: Add support for building RTEMS 3rd party packages. (diff) | |
download | rtems-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.cfg | 6 |
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 # |