summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-04-12 23:35:58 +0000
committerimp <imp@FreeBSD.org>2010-04-12 23:35:58 +0000
commit5e174424d90224d3e4018e1454b2d2dd1530d8a0 (patch)
treefcfcdf3e38eb92317b3972d9755ff1b74cbe714f /gnu
parent0feb3f58f8906612e9caed72e03cd4d06f722259 (diff)
downloadFreeBSD-src-5e174424d90224d3e4018e1454b2d2dd1530d8a0.zip
FreeBSD-src-5e174424d90224d3e4018e1454b2d2dd1530d8a0.tar.gz
Simplify how we select which architectures to add gdbserver for. If
the MD files exist, compile it, otherwise omit it.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gdb/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/usr.bin/gdb/Makefile b/gnu/usr.bin/gdb/Makefile
index b4ec823..db21e56 100644
--- a/gnu/usr.bin/gdb/Makefile
+++ b/gnu/usr.bin/gdb/Makefile
@@ -3,8 +3,7 @@
SUBDIR= doc libgdb gdb gdbtui kgdb
TARGET_ARCH?= ${MACHINE_ARCH}
-.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "arm" || \
- ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "powerpc"
+.if exists(${.CURDIR}/gdbserver/reg-${TARGET_ARCH}.c)
SUBDIR+=gdbserver
.endif
OpenPOWER on IntegriCloud