summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/Makefile
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-06-25 07:15:13 +0000
committermarcel <marcel@FreeBSD.org>2004-06-25 07:15:13 +0000
commit6f47ee0f39cc56eb093e7cff16d725da89de8fef (patch)
tree3b8d4892f0fd64f8fcb151fa314f05f083aaec19 /gnu/usr.bin/Makefile
parentd03895df9421aeb2575da07f410cb1d83ec5def7 (diff)
downloadFreeBSD-src-6f47ee0f39cc56eb093e7cff16d725da89de8fef.zip
FreeBSD-src-6f47ee0f39cc56eb093e7cff16d725da89de8fef.tar.gz
Hook gdb into the build. Exclude gdb on arm and powerpc as support
does not exist yet. The NO_GDB knob is respected.
Diffstat (limited to 'gnu/usr.bin/Makefile')
-rw-r--r--gnu/usr.bin/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index b6a7cbd..fa0e65c 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -1,11 +1,18 @@
# $FreeBSD$
-SUBDIR= bc ${_binutils} ${_cc} cpio dc dialog diff diff3 \
+SUBDIR= bc ${_binutils} ${_cc} cpio dc dialog diff diff3 ${_gdb} \
${_gperf} grep gzip man patch rcs sdiff send-pr sort tar texinfo
+.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "powerpc"
+NO_GDB= not yet
+.endif
+
.if !defined(NO_TOOLCHAIN)
_cc=cc
_binutils=binutils
+.if !defined(NO_GDB)
+_gdb=gdb
+.endif
.endif
.if !defined(NO_CXX)
OpenPOWER on IntegriCloud