mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-27 02:14:04 +08:00
rearranged tests to remove subdirs from configdirs
This commit is contained in:
parent
ea2b679c90
commit
43557c0aec
35
configure.in
35
configure.in
@ -47,9 +47,12 @@ bfd_target=
|
||||
case "${target_vendor}" in
|
||||
amd)
|
||||
case "${target_os}" in
|
||||
ebmon) bfd_target="ebmon29k" ;;
|
||||
udi) bfd_target="udi29k" ;;
|
||||
*) echo "bad target_os for amd" ;;
|
||||
ebmon) bfd_target="ebmon29k"
|
||||
;;
|
||||
udi) bfd_target="udi29k"
|
||||
;;
|
||||
*) echo "bad target_os for amd" 1>&2
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
@ -57,12 +60,32 @@ amd)
|
||||
;;
|
||||
esac
|
||||
|
||||
case "${target_cpu}" in
|
||||
mips) configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
|
||||
#
|
||||
# remove various programs from consideration, based on the target
|
||||
# this usually means that a port of the program doesn't exist yet.
|
||||
|
||||
if [ x"${host}" = x"${target}" ] ; then
|
||||
configdirs=`echo ${configdirs} | sed -e 's/newlib//;s/libgcc//'`
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
case "${target}" in
|
||||
mips-*-*)
|
||||
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
|
||||
;;
|
||||
rs6000-*-*)
|
||||
configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//'`
|
||||
;;
|
||||
hppa*-*-*)
|
||||
configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/emacs//'`
|
||||
;;
|
||||
*-*-solaris2)
|
||||
configdirs=`echo ${configdirs} | sed -e 's/gas//'`
|
||||
;;
|
||||
rs6000)configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//'`
|
||||
esac
|
||||
|
||||
|
||||
target_makefile_frag=config/mt-${bfd_target}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user