From 912596d5fda564c08941923800c2741d56db55c6 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sun, 15 Jun 2014 21:34:38 +1200 Subject: 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. --- rtems/config/rtems-bsp.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rtems/config/rtems-bsp.cfg') 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 # -- cgit v1.2.3