summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools/rtems-kernel-4-1.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-04-27 20:34:47 +1000
committerChris Johns <chrisj@rtems.org>2013-04-27 20:34:47 +1000
commit3ff992b0ce214eac6d81df76f6ebadad4aa2c81e (patch)
tree7b2397d947c5ccab9ca261a2b071ae63d9e931d6 /rtems/config/tools/rtems-kernel-4-1.cfg
parentAdd a faster bootstrap for RTEMS. (diff)
downloadrtems-source-builder-3ff992b0ce214eac6d81df76f6ebadad4aa2c81e.tar.bz2
Disable C++ if not built. Use the faster bootstrap.
Diffstat (limited to 'rtems/config/tools/rtems-kernel-4-1.cfg')
-rw-r--r--rtems/config/tools/rtems-kernel-4-1.cfg11
1 files changed, 9 insertions, 2 deletions
diff --git a/rtems/config/tools/rtems-kernel-4-1.cfg b/rtems/config/tools/rtems-kernel-4-1.cfg
index 4d4bd60..e244939 100644
--- a/rtems/config/tools/rtems-kernel-4-1.cfg
+++ b/rtems/config/tools/rtems-kernel-4-1.cfg
@@ -21,6 +21,13 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
%endif
#
+# If C++ defined for the tool set use it to control RTEMS's setting..
+#
+%ifn %{defined enable_cxx}
+ %define rtems_cxx %{enable_cxx}
+%endif
+
+#
# Default set up.
#
%ifn %{defined rtems_posix}
@@ -61,8 +68,8 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
%{?patch9:%patch9 %{?patch9_opts:%{patch9_opts}}%{!?patch9_opts:-p1}}
%if %{rtems_bootstrap}
./bootstrap -c
- ./bootstrap -p
- ./bootstrap
+ %{_sbdir}/sb-bootstrap --preinstall
+ %{_sbdir}/sb-bootstrap
%endif
cd ..