summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-03-30 20:05:09 +0000
committerEd Maste <emaste@FreeBSD.org>2020-03-30 20:05:09 +0000
commita52b0bb1d2db8eb6a8337a606c7069b9d4407d1b (patch)
tree6e9b4370510f19f12093d75609ae6292969f8def /gnu
parentc42a67671b4a79405982b96935c282943b7df8e5 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gdb/Makefile6
-rw-r--r--gnu/usr.bin/gdb/Makefile.inc2
2 files changed, 1 insertions, 7 deletions
diff --git a/gnu/usr.bin/gdb/Makefile b/gnu/usr.bin/gdb/Makefile
index c9564c232a3c..114c335fd0fd 100644
--- a/gnu/usr.bin/gdb/Makefile
+++ b/gnu/usr.bin/gdb/Makefile
@@ -4,10 +4,4 @@
SUBDIR= libgdb gdb kgdb
-.if ${MK_GDB_LIBEXEC} == "no"
-.if exists(${.CURDIR}/gdbserver/reg-${MACHINE_CPUARCH}.c)
-SUBDIR+=gdbserver
-.endif
-.endif
-
.include <bsd.subdir.mk>
diff --git a/gnu/usr.bin/gdb/Makefile.inc b/gnu/usr.bin/gdb/Makefile.inc
index 68e7a6c3b986..097975de3128 100644
--- a/gnu/usr.bin/gdb/Makefile.inc
+++ b/gnu/usr.bin/gdb/Makefile.inc
@@ -58,7 +58,7 @@ GENSRCS+= nm.h tm.h
CFLAGS+= -DCROSS_DEBUGGER -I${BMAKE_ROOT:H:H}
GDB_SUFFIX= -${TARGET_ARCH}
MAN=
-.elif ${MK_GDB_LIBEXEC} != "no"
+.else
BINDIR?= /usr/libexec
MAN=
.endif