summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gdb/arch/i386/Makefile
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-11-30 05:12:37 +0000
committermarcel <marcel@FreeBSD.org>2004-11-30 05:12:37 +0000
commit4f1dd5306027cb41a2561c6eab3f78da0117f50d (patch)
tree6f9ca2bc715a008f6966026447acb02f4fed17fb /gnu/usr.bin/gdb/arch/i386/Makefile
parent8ea3319e249be118794b26e91dac555ec1cc2a22 (diff)
downloadFreeBSD-src-4f1dd5306027cb41a2561c6eab3f78da0117f50d.zip
FreeBSD-src-4f1dd5306027cb41a2561c6eab3f78da0117f50d.tar.gz
Makefile (only) changes to allow building a cross debugger.
Diffstat (limited to 'gnu/usr.bin/gdb/arch/i386/Makefile')
-rw-r--r--gnu/usr.bin/gdb/arch/i386/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/usr.bin/gdb/arch/i386/Makefile b/gnu/usr.bin/gdb/arch/i386/Makefile
index ac2146b..2f89ddb 100644
--- a/gnu/usr.bin/gdb/arch/i386/Makefile
+++ b/gnu/usr.bin/gdb/arch/i386/Makefile
@@ -1,9 +1,11 @@
# $FreeBSD$
GENSRCS+= xm.h
-LIBSRCS+= fbsd-proc.c gcore.c
-LIBSRCS+= i386-nat.c i386-tdep.c i386bsd-nat.c i386bsd-tdep.c \
- i386fbsd-nat.c i386fbsd-tdep.c i387-tdep.c
+.if !defined(GDB_CROSS_DEBUGGER)
+LIBSRCS+= fbsd-proc.c fbsd-threads.c gcore.c
+LIBSRCS+= i386-nat.c i386bsd-nat.c i386fbsd-nat.c
+.endif
+LIBSRCS+= i386-tdep.c i386bsd-tdep.c i386fbsd-tdep.c i387-tdep.c
nm.h:
echo '#include "i386/nm-fbsd.h"' > ${.TARGET}
OpenPOWER on IntegriCloud