summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools/rtems-automake-1.12.6-1.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-07-16 10:02:41 +1000
committerChris Johns <chrisj@rtems.org>2013-07-16 10:02:41 +1000
commitebf8a1f0f82b35235c39b67bde9e6acc2d464dee (patch)
tree584caa96e8ee80998f9754ecf45ae13edf03636e /rtems/config/tools/rtems-automake-1.12.6-1.cfg
parentMove newlib to 14-Jul-2013. (diff)
downloadrtems-source-builder-ebf8a1f0f82b35235c39b67bde9e6acc2d464dee.tar.bz2
Automtically build the Autotools to bootstrap RTEMS.
This changes adds support to build the autotools if the host installed version is not a suitable version. Autoconf and automake have hard coded references to the install prefix and host tools and this makes it impossible to relocate, that is use in any path other than the install prefix. To bootstrap automake you need to first build a suitable autoconf and with that you can built automake for the install prefix. The other complication is not referencing the install prefix in the path when building in the RSB. Having the install prefix in the path can result in strange issues appearing such as gcc using a new assembler feature not present in an older assember installed under the install prefix. The process is to build the autotools using an install prefix to an internal path inside the RSB temporary path and to use that autoconf to build the version for the install prefix. The internal install prefix version is also used to bootstrap RTEMS.
Diffstat (limited to 'rtems/config/tools/rtems-automake-1.12.6-1.cfg')
-rw-r--r--rtems/config/tools/rtems-automake-1.12.6-1.cfg19
1 files changed, 19 insertions, 0 deletions
diff --git a/rtems/config/tools/rtems-automake-1.12.6-1.cfg b/rtems/config/tools/rtems-automake-1.12.6-1.cfg
new file mode 100644
index 0000000..1585cf4
--- /dev/null
+++ b/rtems/config/tools/rtems-automake-1.12.6-1.cfg
@@ -0,0 +1,19 @@
+#
+# Automake 1.12.6
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+%include %{_configdir}/versions.cfg
+
+%define rtems_automake_version 1.12.6
+
+#
+# Check the version of automake in the path.
+#
+%if %{__automake_ver} < %{rtems_automake_version}
+ #
+ # Tools configuration.
+ #
+ %include %{_configdir}/devel/automake-1.12.6-1.cfg
+%endif