config.gcc (sh*-*-elf): Add superh stuff only for sh*-superh-elf.

* config.gcc (sh*-*-elf): Add superh stuff only for sh*-superh-elf.

From-SVN: r151213
This commit is contained in:
Kaz Kojima 2009-08-29 23:50:31 +00:00
parent 8c53cbed4f
commit 2d606e03bf
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2009-08-29 Kaz Kojima <kkojima@gcc.gnu.org>
* config.gcc (sh*-*-elf): Add superh stuff only for sh*-superh-elf.
2009-08-29 Kai Tietz<kai.tietz@onevision.com>
PR/41184

View File

@ -2121,9 +2121,13 @@ sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
with_libgloss=yes
tm_file="${tm_file} sh/newlib.h"
fi
tm_file="${tm_file} sh/embed-elf.h sh/superh.h"
tmake_file="${tmake_file} sh/t-superh"
extra_options="${extra_options} sh/superh.opt" ;;
tm_file="${tm_file} sh/embed-elf.h"
case ${target} in
sh*-superh-elf) tm_file="${tm_file} sh/superh.h"
tmake_file="${tmake_file} sh/t-superh"
extra_options="${extra_options} sh/superh.opt" ;;
esac
;;
*) if test x$with_newlib = xyes \
&& test x$with_libgloss = xyes; then
tm_file="${tm_file} sh/newlib.h"