svn commit: r206530 - head/gnu/usr.bin/gdb
Warner Losh
imp at FreeBSD.org
Mon Apr 12 23:35:58 UTC 2010
Author: imp
Date: Mon Apr 12 23:35:58 2010
New Revision: 206530
URL: http://svn.freebsd.org/changeset/base/206530
Log:
Simplify how we select which architectures to add gdbserver for. If
the MD files exist, compile it, otherwise omit it.
Modified:
head/gnu/usr.bin/gdb/Makefile
Modified: head/gnu/usr.bin/gdb/Makefile
==============================================================================
--- head/gnu/usr.bin/gdb/Makefile Mon Apr 12 23:22:32 2010 (r206529)
+++ head/gnu/usr.bin/gdb/Makefile Mon Apr 12 23:35:58 2010 (r206530)
@@ -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
More information about the svn-src-all
mailing list