binutils: Added ranlib to tools list
authorRay Donnelly <mingw.android@gmail.com>
Tue Feb 04 07:40:45 2014 +0000 (2014-02-04)
changeset 3290bddc642fc8eb
parent 3289 defadbff9afd
child 3291 ccef9a13c09b
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
scripts/build/binutils/binutils.sh
     1.1 --- a/scripts/build/binutils/binutils.sh	Wed Feb 19 22:36:03 2014 +0100
     1.2 +++ b/scripts/build/binutils/binutils.sh	Tue Feb 04 07:40:45 2014 +0000
     1.3 @@ -106,13 +106,13 @@
     1.4      fi
     1.5  
     1.6      # Make those new tools available to the core C compilers to come.
     1.7 -    # Note: some components want the ${TARGET}-{ar,as,ld,strip} commands as
     1.8 -    # well. Create that.
     1.9 +    # Note: some components want the ${TARGET}-{ar,as,ld,ranlib,strip} commands
    1.10 +    # as well. Create that.
    1.11      # Don't do it for canadian or cross-native, because the binutils
    1.12      # are not executable on the build machine.
    1.13      case "${CT_TOOLCHAIN_TYPE}" in
    1.14          cross|native)
    1.15 -            binutils_tools=( ar as ld strip )
    1.16 +            binutils_tools=( ar as ld ranlib strip )
    1.17              if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then
    1.18                  binutils_tools+=( elf2flt flthdr )
    1.19              fi