aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMichael Tiemann <tiemann@cygnus>1992-02-07 07:52:08 +0000
committerMichael Tiemann <tiemann@cygnus>1992-02-07 07:52:08 +0000
commitc556c4267b5c6ab3e596bc8d87da2fb0ca48d4f6 (patch)
tree52f2f6ea401dca16a2dd69d4567d10e63ae06f0f /ld
parent3a07a6ace2b84d71d3fdbe2779dca692eb34b7f2 (diff)
downloadgdb-c556c4267b5c6ab3e596bc8d87da2fb0ca48d4f6.zip
gdb-c556c4267b5c6ab3e596bc8d87da2fb0ca48d4f6.tar.gz
gdb-c556c4267b5c6ab3e596bc8d87da2fb0ca48d4f6.tar.bz2
Add ${srcdir} for makefile_frags.
Diffstat (limited to 'ld')
-rw-r--r--ld/configure.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/ld/configure.in b/ld/configure.in
index 7d94046..5632173 100644
--- a/ld/configure.in
+++ b/ld/configure.in
@@ -103,7 +103,7 @@ if [ ! -f ${srcdir}/${files} ] ; then
fi
host_makefile_frag=
if [ -f ${srcdir}/config/mh-${my_host} ] ; then
- host_makefile_frag=config/mh-${my_host}
+ host_makefile_frag=${srcdir}/config/mh-${my_host}
fi
# per-target:
@@ -124,11 +124,12 @@ sun)
*) my_target=coff-a29k ;;
esac
;;
- h8300) my_target=h8300hds ;;
+ h8300) my_target=coff-h8300 ;;
m68k)
case ${target_vendor} in
- sony) my_target=news;;
- hp) my_target=hp300bsd;;
+ sony) my_target=news ;;
+ hp) my_target=hp300bsd ;;
+ wrs) my_target=sun3 ;;
*)
echo "Unknown m68k target vendor:" ${target_vendor}
exit 1
@@ -139,4 +140,4 @@ sun)
;;
esac
-target_makefile_frag=config/mt-${my_target}
+target_makefile_frag=${srcdir}/config/mt-${my_target}