summaryrefslogtreecommitdiffstats
path: root/rtems/config/rtems-bsp.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-10-27 18:23:37 +1100
committerChris Johns <chrisj@rtems.org>2019-10-27 18:23:37 +1100
commit53dd2ee72b6b4be01bc261183d15ac1d536b5c35 (patch)
tree7f9f6665c5720541999aadb7ce3ee273fb9fb5bf /rtems/config/rtems-bsp.cfg
parentsb/gdb: Add further getting source checks. (diff)
downloadrtems-source-builder-53dd2ee72b6b4be01bc261183d15ac1d536b5c35.tar.bz2
rtems/bsps: Do not raise an error if no cflags when getting source.
Diffstat (limited to 'rtems/config/rtems-bsp.cfg')
-rw-r--r--rtems/config/rtems-bsp.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtems/config/rtems-bsp.cfg b/rtems/config/rtems-bsp.cfg
index 4e6152d..8c8a512 100644
--- a/rtems/config/rtems-bsp.cfg
+++ b/rtems/config/rtems-bsp.cfg
@@ -129,7 +129,7 @@
%define rtems_bsp_ldflags %{pkgconfig ldflags %{_host}-%{rtems_bsp}}
%define rtems_bsp_libs %{pkgconfig libs %{_host}-%{rtems_bsp}}
-%if %{rtems_bsp_cflags} == %{nil} && %{rtems_bsp_error}
+%if %{rtems_bsp_cflags} == %{nil} && %{rtems_bsp_error} && !%{_rsb_getting_source}
%error No RTEMS BSP CFLAGS found; Please check the --with-rtems-bsp option.
%endif