Commit 35341073 by Nathanael Nerode

config.gcc: Clean up and reindent $with_cpu=yes|no clause and the section giving $with_cpu...

	* config.gcc: Clean up and reindent $with_cpu=yes|no clause and
	the section giving $with_cpu defaults by target.

From-SVN: r71738
parent 77cf10c9
2003-09-24 Nathanael Nerode <neroden@gcc.gnu.org> 2003-09-24 Nathanael Nerode <neroden@gcc.gnu.org>
* config.gcc: Clean up and reindent $with_cpu=yes|no clause and
the section giving $with_cpu defaults by target.
* config.gcc (arm-*-coff*, armel-*-coff*, arm*-*-ecos-elf, * config.gcc (arm-*-coff*, armel-*-coff*, arm*-*-ecos-elf,
arm*-*-elf, ep9312-*-elf, arm*-wince-pe*, arm*-*-pe*, arm*-*-pe*, arm*-*-elf, ep9312-*-elf, arm*-wince-pe*, arm*-*-pe*, arm*-*-pe*,
rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*, rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*,
......
...@@ -2216,17 +2216,16 @@ esac ...@@ -2216,17 +2216,16 @@ esac
# Support for --with-cpu and related options (and a few unrelated options, # Support for --with-cpu and related options (and a few unrelated options,
# too). # too).
case "x$with_cpu" in case ${with_cpu} in
xyes | xno) yes | no)
echo "--with-cpu must be passed a value" 1>&2 echo "--with-cpu must be passed a value" 1>&2
exit 1 exit 1
;; ;;
esac esac
# If there is no $with_cpu option, try to infer one from ${target}. # If there is no $with_cpu option, try to infer one from ${target}.
# This block sets nothing except for with_cpu. # This block sets nothing except for with_cpu.
if test x$with_cpu = x if test x$with_cpu = x ; then
then
case ${target} in case ${target} in
ep9312-*-*) ep9312-*-*)
# A Cirrus ARM variant. # A Cirrus ARM variant.
...@@ -2282,25 +2281,21 @@ esac ...@@ -2282,25 +2281,21 @@ esac
x86_64-*-*) x86_64-*-*)
with_cpu=k8 with_cpu=k8
;; ;;
alpha*-*-*) alphaev6[78]*-*-*)
case ${target} in
alphaev6[78]*)
with_cpu=ev67 with_cpu=ev67
;; ;;
alphaev6*) alphaev6*-*-*)
with_cpu=ev6 with_cpu=ev6
;; ;;
alphapca56*) alphapca56*-*-*)
with_cpu=pca56 with_cpu=pca56
;; ;;
alphaev56*) alphaev56*-*-*)
with_cpu=ev56 with_cpu=ev56
;; ;;
alphaev5*) alphaev5*-*-*)
with_cpu=ev5 with_cpu=ev5
;; ;;
esac
;;
sparc*-*-*) sparc*-*-*)
with_cpu="`echo ${target} | sed 's/-.*$//'`" with_cpu="`echo ${target} | sed 's/-.*$//'`"
if [ x$with_cpu = xsparc64 ]; then if [ x$with_cpu = xsparc64 ]; then
...@@ -2308,7 +2303,7 @@ esac ...@@ -2308,7 +2303,7 @@ esac
fi fi
;; ;;
esac esac
fi fi
# Similarly for --with-schedule. # Similarly for --with-schedule.
if test x$with_schedule = x; then if test x$with_schedule = x; then
......
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