Changeset 19f4540e in rtems for scripts/buildall.in


Ignore:
Timestamp:
06/02/00 20:13:51 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
bdf9a994
Parents:
fd16f5b5
Message:

Updated patch versions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/buildall.in

    rfd16f5b5 r19f4540e  
    1414  echo "$0 [options] <target_alias>"
    1515  echo "  options:"
     16  echo "    -b                  -- build binutils"
     17  echo "    -g                  -- build gcc/newlib"
     18  echo "    -d                  -- build gdb"
     19  echo "    -t                  -- enable test/debug mode"
    1620  echo "    -cfg <setup.cache>"
    1721  echo "    -o <rpm-spec-dir>"
     
    1923}
    2024
     25testing=no
     26do_binutils=no
     27do_gccnewlib=no
     28do_gdb=no
     29
    2130while test $# -ge 1; do
    2231  case $1 in
     32    -b) do_binutils=yes  ; shift;;
     33    -g) do_gccnewlib=yes ; shift;;
     34    -d) do_gdb=yes       ; shift;;
     35    -t) do_test=yes      ; shift;;
    2336    -cfg)
    2437      test $# -ge 2 || usage
     
    4356  esac
    4457done
     58
     59if test ${do_binutils} = no -a ${do_gccnewlib} = no -a ${do_gdb} = no ; then
     60  echo "You must request building binutils, gcc/newlib, or gdb."
     61  usage
     62fi
     63
    4564
    4665# This is the full list .. hppa1.1 does not build now.
     
    6382# also use binutils_rpm_release
    6483buildroot=/tmp
    65 
    66 testing=no
    67 do_binutils=yes
    68 do_gccnewlib=yes
    69 do_gdb=yes
    7084
    7185#
Note: See TracChangeset for help on using the changeset viewer.