1.1 --- a/config/companion_tools.in Tue Jan 12 21:47:14 2010 +0000
1.2 +++ b/config/companion_tools.in Tue Jan 12 21:47:36 2010 +0000
1.3 @@ -12,6 +12,7 @@
1.4 Crosstool-NG relies on some external tools to be recent enough, namely:
1.5 m4 >= 1.4.12
1.6 autoconf >= 2.63
1.7 + automake >= 1.10.2
1.8
1.9 If your system has older versions, we can build them for you,
1.10 but you are strongly encouraged to update your system instead!
1.11 @@ -26,6 +27,10 @@
1.12 bool
1.13 prompt "autoconf"
1.14
1.15 +config COMP_TOOLS_automake
1.16 + bool
1.17 + prompt "automake"
1.18 +
1.19 endif
1.20
1.21 endmenu
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/scripts/build/companion_tools/300-automake.sh Tue Jan 12 21:47:36 2010 +0000
2.3 @@ -0,0 +1,27 @@
2.4 +# Build script for automake
2.5 +
2.6 +CT_AUTOMAKE_VERSION=1.11.1
2.7 +
2.8 +do_companion_tools_automake_get() {
2.9 + CT_GetFile "automake-${CT_AUTOMAKE_VERSION}" \
2.10 + {ftp,http}://ftp.gnu.org/gnu/automake
2.11 +}
2.12 +
2.13 +do_companion_tools_automake_extract() {
2.14 + CT_Extract "automake-${CT_AUTOMAKE_VERSION}"
2.15 + CT_Patch "automake-${CT_AUTOMAKE_VERSION}"
2.16 +}
2.17 +
2.18 +do_companion_tools_automake_build() {
2.19 + CT_DoStep EXTRA "Installing automake"
2.20 + mkdir -p "${CT_BUILD_DIR}/build-automake"
2.21 + CT_Pushd "${CT_BUILD_DIR}/build-automake"
2.22 +
2.23 + CT_DoExecLog ALL \
2.24 + "${CT_SRC_DIR}/automake-${CT_AUTOMAKE_VERSION}/configure" \
2.25 + --prefix="${CT_TOOLS_OVERIDE_DIR}"
2.26 + CT_DoExecLog ALL make
2.27 + CT_DoExecLog ALL make install
2.28 + CT_Popd
2.29 + CT_EndStep
2.30 +}