2003-02-10 Joel Sherrill <joel@OARcorp.com>

* gdb/gdb.add, gdb/mkspec.in, gdb/target-gdb.add: Use RPM logic to
	determine which targets have simulators, configure with appropriate
	arguments, and package the correct files.
This commit is contained in:
Joel Sherrill
2003-02-10 16:32:27 +00:00
parent 1dc7164730
commit de819f6e89
4 changed files with 33 additions and 17 deletions

View File

@@ -48,22 +48,6 @@ target_alias=$1
. ./$CFG
case ${target_alias} in
arm* | d10v* | d30v* | erc32* | fr30* | h8300* | h8500* | hppa1.1* | \
i960* | m32r* | mcore* | mips* | mn10200* | mn10300* | sh* | sparc*| \
v850* | w65* | z8k*)
extra_configure_arguments="--enable-sim"
;;
powerpc*)
extra_configure_arguments="--enable-sim --enable-sim-powerpc --enable-sim-timebase --enable-sim-hardware"
# Enabling this causes the program image to be huge and causes
# some gcc/hosts combinations to run out of memory.
# --enable-sim-inline
;;
*)
;;
esac
sed -e "s%@Release\@%${gdb_rpm_release}%g" \
-e "s,@rpm_build_root\@,${rpm_build_root},g" \
-e "s%@prefix\@%@prefix@%g" \