From e5deeefec6ef55de3c365e02967eba9bb045a8ea Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 12 Sep 2012 14:58:07 +0000 Subject: [PATCH] Add MK_KDUMP. --- share/mk/bsd.own.mk | 2 ++ usr.bin/Makefile | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index e8e4b7117d2f..1697335ae300 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 496cac675777..33fc30fd456b 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