summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2012-09-12 14:58:07 +0000
committerobrien <obrien@FreeBSD.org>2012-09-12 14:58:07 +0000
commit0d139e2e7c1ea69d82a2104179444e5a04f0b9dc (patch)
tree2936f022fb29997fe13c3fefdcdb0594e09faf0b
parent2cda43d113be125dcf736ac2fe7e8f8ee2beee13 (diff)
downloadFreeBSD-src-0d139e2e7c1ea69d82a2104179444e5a04f0b9dc.zip
FreeBSD-src-0d139e2e7c1ea69d82a2104179444e5a04f0b9dc.tar.gz
Add MK_KDUMP.
-rw-r--r--share/mk/bsd.own.mk2
-rw-r--r--usr.bin/Makefile9
2 files changed, 9 insertions, 2 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index e8e4b71..1697335 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -254,6 +254,7 @@ WITHOUT_${var}=
INFO \
IPFILTER \
IPX \
+ KDUMP \
KERBEROS \
LIB32 \
LIBPTHREAD \
@@ -357,6 +358,7 @@ __DEFAULT_YES_OPTIONS = \
IPFW \
IPX \
JAIL \
+ KDUMP \
KERBEROS \
KERNEL_SYMBOLS \
KVM \
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 496cac6..33fc30f 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -68,7 +68,7 @@ SUBDIR= alias \
ipcs \
join \
jot \
- kdump \
+ ${_kdump} \
keylogin \
keylogout \
killall \
@@ -163,7 +163,7 @@ SUBDIR= alias \
tr \
true \
truncate \
- truss \
+ ${_truss} \
tset \
tsort \
tty \
@@ -245,6 +245,11 @@ _mkcsmapper= mkcsmapper
_mkesdb= mkesdb
.endif
+.if ${MK_KDUMP} != "no"
+SUBDIR+= kdump
+SUBDIR+= truss
+.endif
+
.if ${MK_KERBEROS_SUPPORT} != "no"
SUBDIR+= compile_et
.endif
OpenPOWER on IntegriCloud