rtems/bsps: Do not raise an error if no cflags when getting source.

This commit is contained in:
Chris Johns 2019-10-27 18:23:37 +11:00
parent 8de6b678e8
commit 53dd2ee72b

View File

@ -129,7 +129,7 @@
%define rtems_bsp_ldflags %{pkgconfig ldflags %{_host}-%{rtems_bsp}} %define rtems_bsp_ldflags %{pkgconfig ldflags %{_host}-%{rtems_bsp}}
%define rtems_bsp_libs %{pkgconfig libs %{_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. %error No RTEMS BSP CFLAGS found; Please check the --with-rtems-bsp option.
%endif %endif