binutils: Added ranlib to tools list

so that it is available to available to
the core C compiler build because static
libraries are built and ranlib is used
on them.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Message-Id: <CAOYw7dt=+DdnKAHNShfs6a+=7sS+DLQYkyxnQMAwmw7E7zqvgA@mail.gmail.com>
Patchwork-Id: 316477
This commit is contained in:
Ray Donnelly 2014-02-04 07:40:45 +00:00
parent 4f4c387543
commit 62a1145d61

View File

@ -106,13 +106,13 @@ do_binutils_for_host() {
fi
# Make those new tools available to the core C compilers to come.
# Note: some components want the ${TARGET}-{ar,as,ld,strip} commands as
# well. Create that.
# Note: some components want the ${TARGET}-{ar,as,ld,ranlib,strip} commands
# as well. Create that.
# Don't do it for canadian or cross-native, because the binutils
# are not executable on the build machine.
case "${CT_TOOLCHAIN_TYPE}" in
cross|native)
binutils_tools=( ar as ld strip )
binutils_tools=( ar as ld ranlib strip )
if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then
binutils_tools+=( elf2flt flthdr )
fi