aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-06-16 07:09:44 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-06-16 07:09:44 +0000
commite223c68bfc26436d6e1e39202cf7262335ca1f7c (patch)
tree1d994d80dc9d835f3cdaf765535ae861867b19c9 /gnu/usr.bin/binutils/gdb
parent6311b38feebcbf3464740e188c9d50b161d9de6b (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/binutils/gdb')
-rw-r--r--gnu/usr.bin/binutils/gdb/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile
index 1a89247dbabc..435f72b48c96 100644
--- a/gnu/usr.bin/binutils/gdb/Makefile
+++ b/gnu/usr.bin/binutils/gdb/Makefile
@@ -120,7 +120,10 @@ init.c: ${XSRCS}
.PRECIOUS: init.c
tm.h:
- ln -sf ${.CURDIR}/fbsd-kgdb-${TARGET_ARCH}.h ${.TARGET}
+ echo '#include "${GDB_CPU}/tm-fbsd.h"' > ${.TARGET}
+.if exists(${.CURDIR}/fbsd-kgdb-${TARGET_ARCH}.h)
+ echo '#include "fbsd-kgdb-${TARGET_ARCH}.h"' >> ${.TARGET}
+.endif
.for H in nm-fbsd xm-${GDB_CPU}
${H:C/-.*$//}.h: