Undefine rtems_bsp is set to all. Configure without bsps means all.

This commit is contained in:
Chris Johns 2013-04-28 12:54:00 +10:00
parent bf23399a8c
commit c12323fadd

View File

@ -49,6 +49,13 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
%define rtems_tests_opt --enable-tests=%{rtems_tests}
%endif
#
# It the rtems_bsps is all undefine it
#
%if %{rtems_bsps} == all
%undefine rtems_bsps
%endif
#
# Prepare the source code.
#
@ -91,7 +98,6 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
%{?rtems_cxx:--enable-cxx}%{!?rtems_cxx:--disable-cxx} \
%{rtems_tests_opt} \
%{?rtems_bsps:--enable-rtemsbsp=%{rtems_bsps}} \
--target=%{_target} \
--prefix=%{_prefix} --bindir=%{_bindir} \
--exec-prefix=%{_exec_prefix} \
--includedir=%{_includedir} --libdir=%{_libdir} \