Commit 9d3d50d2 by Mark Mitchell Committed by Mark Mitchell

* gcc_build: Fix handling of -t option. Add -x option.

From-SVN: r70658
parent c79c6c5b
2003-08-21 Mark Mitchell <mark@codesourcery.com>
* gcc_build: Fix handling of -t option. Add -x option.
2003-07-31 Matt Kraai <kraai@alumni.cmu.edu> 2003-07-31 Matt Kraai <kraai@alumni.cmu.edu>
* texi2pod.pl: Remove extra line. * texi2pod.pl: Remove extra line.
......
...@@ -66,6 +66,7 @@ gcc_build [-c configure_options] ...@@ -66,6 +66,7 @@ gcc_build [-c configure_options]
[-u username] [-u username]
[-p protocol] [-p protocol]
[-t tarfile] [-t tarfile]
[-x make_check_options]
[bootstrap] [bootstrap]
[build] [build]
[checkout] [checkout]
...@@ -174,7 +175,7 @@ test_gcc() { ...@@ -174,7 +175,7 @@ test_gcc() {
changedir ${OBJDIR} changedir ${OBJDIR}
echo "Running tests... This will take a while." echo "Running tests... This will take a while."
${MAKE} -k check eval \${MAKE} -k ${MAKE_CHECK_OPTIONS} check
${DESTINATION}/contrib/test_summary ${DESTINATION}/contrib/test_summary
} }
...@@ -233,8 +234,10 @@ TARFILE="${HOME}/dev/gcc.tgz" ...@@ -233,8 +234,10 @@ TARFILE="${HOME}/dev/gcc.tgz"
CONFIGURE_OPTIONS= CONFIGURE_OPTIONS=
# The `make' program. # The `make' program.
MAKE=${MAKE:-make} MAKE=${MAKE:-make}
# Options to pass to make. # Options to pass to "make bootstrap".
MAKE_BOOTSTRAP_OPTIONS= MAKE_BOOTSTRAP_OPTIONS=
# Options to pass to "make check".
MAKE_CHECK_OPTIONS=
# Modes of operation # Modes of operation
BOOTSTRAP=0 BOOTSTRAP=0
...@@ -250,14 +253,15 @@ UPDATE=0 ...@@ -250,14 +253,15 @@ UPDATE=0
######################################################################## ########################################################################
# Parse the options. # Parse the options.
while getopts "c:d:m:o:p:t:u:" ARG; do while getopts "c:d:m:o:p:t:u:x:" ARG; do
case $ARG in case $ARG in
c) CONFIGURE_OPTIONS="${OPTARG}";; c) CONFIGURE_OPTIONS="${OPTARG}";;
d) DESTINATION="${OPTARG}";; d) DESTINATION="${OPTARG}";;
m) MAKE_BOOTSTRAP_OPTIONS="${OPTARG}";; m) MAKE_BOOTSTRAP_OPTIONS="${OPTARG}";;
o) OBJDIR="${OPTARG}";; o) OBJDIR="${OPTARG}";;
p) CVS_PROTOCOL="${OPTARG}";; p) CVS_PROTOCOL="${OPTARG}";;
t) CVS_TARGFILE="${OPTARG}";; t) TARFILE="${OPTARG}";;
x) MAKE_CHECK_OPTIONS="${OPTARG}";;
u) CVS_USERNAME="${OPTARG}";; u) CVS_USERNAME="${OPTARG}";;
\?) usage;; \?) usage;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment