diff options
author | Warner Losh <imp@FreeBSD.org> | 2010-04-12 23:35:58 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2010-04-12 23:35:58 +0000 |
commit | b29d0c613447b07a7e0606182ca51e141e4da06e (patch) | |
tree | fcfcdf3e38eb92317b3972d9755ff1b74cbe714f /gnu | |
parent | 0bdee1fafef5c1b52375b88df5ee4e1d237dc91e (diff) | |
download | src-b29d0c613447b07a7e0606182ca51e141e4da06e.tar.gz src-b29d0c613447b07a7e0606182ca51e141e4da06e.zip |
Simplify how we select which architectures to add gdbserver for. If
the MD files exist, compile it, otherwise omit it.
Notes
Notes:
svn path=/head/; revision=206530
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gdb/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/usr.bin/gdb/Makefile b/gnu/usr.bin/gdb/Makefile index b4ec8230d480..db21e5615e58 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 |