mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
rtems/kernel: Add BSPOPTS support.
This commit is contained in:
parent
fab7197c1b
commit
4ae34203e4
@ -106,6 +106,10 @@ URL: https://www.rtems.org/
|
|||||||
%define rtems_cxx 1
|
%define rtems_cxx 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{defined with_rtems_bspopts}
|
||||||
|
%define bspopts %{with_rtems_bspopts}
|
||||||
|
%endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Source
|
# Source
|
||||||
#
|
#
|
||||||
@ -150,6 +154,9 @@ URL: https://www.rtems.org/
|
|||||||
%ifn %{defined rtems_tests}
|
%ifn %{defined rtems_tests}
|
||||||
%define rtems_tests samples
|
%define rtems_tests samples
|
||||||
%endif
|
%endif
|
||||||
|
%ifn %{defined bspopts}
|
||||||
|
%define bspopts %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{rtems_tests} == disable
|
%if %{rtems_tests} == disable
|
||||||
%define rtems_tests_opt --disable-tests
|
%define rtems_tests_opt --disable-tests
|
||||||
@ -215,7 +222,8 @@ URL: https://www.rtems.org/
|
|||||||
--prefix=%{_prefix} --bindir=%{_bindir} \
|
--prefix=%{_prefix} --bindir=%{_bindir} \
|
||||||
--exec-prefix=%{_exec_prefix} \
|
--exec-prefix=%{_exec_prefix} \
|
||||||
--includedir=%{_includedir} --libdir=%{_libdir} \
|
--includedir=%{_includedir} --libdir=%{_libdir} \
|
||||||
--mandir=%{_mandir} --infodir=%{_infodir}
|
--mandir=%{_mandir} --infodir=%{_infodir} \
|
||||||
|
%{bspopts}
|
||||||
|
|
||||||
%{__make} %{?_smp_mflags} all
|
%{__make} %{?_smp_mflags} all
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
x
Reference in New Issue
Block a user