mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Undefine rtems_bsp is set to all. Configure without bsps means all.
This commit is contained in:
parent
bf23399a8c
commit
c12323fadd
@ -49,6 +49,13 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
|||||||
%define rtems_tests_opt --enable-tests=%{rtems_tests}
|
%define rtems_tests_opt --enable-tests=%{rtems_tests}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
#
|
||||||
|
# It the rtems_bsps is all undefine it
|
||||||
|
#
|
||||||
|
%if %{rtems_bsps} == all
|
||||||
|
%undefine rtems_bsps
|
||||||
|
%endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Prepare the source code.
|
# Prepare the source code.
|
||||||
#
|
#
|
||||||
@ -91,7 +98,6 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
|||||||
%{?rtems_cxx:--enable-cxx}%{!?rtems_cxx:--disable-cxx} \
|
%{?rtems_cxx:--enable-cxx}%{!?rtems_cxx:--disable-cxx} \
|
||||||
%{rtems_tests_opt} \
|
%{rtems_tests_opt} \
|
||||||
%{?rtems_bsps:--enable-rtemsbsp=%{rtems_bsps}} \
|
%{?rtems_bsps:--enable-rtemsbsp=%{rtems_bsps}} \
|
||||||
--target=%{_target} \
|
|
||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--exec-prefix=%{_exec_prefix} \
|
--exec-prefix=%{_exec_prefix} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user