summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-10-26 06:50:36 +1100
committerChris Johns <chrisj@rtems.org>2019-10-26 06:52:07 +1100
commit4ae34203e4a5735fae78655766ca50005a24f1ac (patch)
tree773fa46f1cf40c45edeb088e317ed1e94795bcef /rtems/config/tools
parentsb/options: Split options on the first '=' only. (diff)
downloadrtems-source-builder-4ae34203e4a5735fae78655766ca50005a24f1ac.tar.bz2
rtems/kernel: Add BSPOPTS support.
Diffstat (limited to 'rtems/config/tools')
-rw-r--r--rtems/config/tools/rtems-kernel-common.cfg10
1 files changed, 9 insertions, 1 deletions
diff --git a/rtems/config/tools/rtems-kernel-common.cfg b/rtems/config/tools/rtems-kernel-common.cfg
index ed19333..6e8cf32 100644
--- a/rtems/config/tools/rtems-kernel-common.cfg
+++ b/rtems/config/tools/rtems-kernel-common.cfg
@@ -106,6 +106,10 @@ URL: https://www.rtems.org/
%define rtems_cxx 1
%endif
+%if %{defined with_rtems_bspopts}
+ %define bspopts %{with_rtems_bspopts}
+%endif
+
#
# Source
#
@@ -150,6 +154,9 @@ URL: https://www.rtems.org/
%ifn %{defined rtems_tests}
%define rtems_tests samples
%endif
+%ifn %{defined bspopts}
+ %define bspopts %{nil}
+%endif
%if %{rtems_tests} == disable
%define rtems_tests_opt --disable-tests
@@ -215,7 +222,8 @@ URL: https://www.rtems.org/
--prefix=%{_prefix} --bindir=%{_bindir} \
--exec-prefix=%{_exec_prefix} \
--includedir=%{_includedir} --libdir=%{_libdir} \
- --mandir=%{_mandir} --infodir=%{_infodir}
+ --mandir=%{_mandir} --infodir=%{_infodir} \
+ %{bspopts}
%{__make} %{?_smp_mflags} all
cd ..