summaryrefslogtreecommitdiff
path: root/rescue
diff options
context:
space:
mode:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2017-02-25 03:23:11 +0000
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2017-02-25 03:23:11 +0000
commitba4a533716b91377ed210fba2231f38b9c980e57 (patch)
tree2b1b7bd9ffe616a65045bfd7b1c7a2c250191dfd /rescue
parent192ee4d562da132a2a6cd6f55cecfea8237cc20f (diff)
downloadfreebsd-ba4a533716b91377ed210fba2231f38b9c980e57.tar.gz
freebsd-ba4a533716b91377ed210fba2231f38b9c980e57.tar.bz2
Conditionally compile certain programs into rescue(8) if requested
MK_CCD - ccdconfig MK_ROUTED - routed, rtquery MFC after: 2 weeks Sponsored by: Dell EMC Isilon git-svn-id: http://svn.freebsd.org/base/head@314240 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Diffstat (limited to 'rescue')
-rw-r--r--rescue/rescue/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile
index 9b4e1eecd59..dff6710b8e5 100644
--- a/rescue/rescue/Makefile
+++ b/rescue/rescue/Makefile
@@ -90,7 +90,7 @@ CRUNCH_SUPPRESS_LINK_-tcsh= 1
#
CRUNCH_SRCDIRS+= sbin
CRUNCH_PROGS_sbin= badsect \
- camcontrol ccdconfig clri devfs dmesg dump \
+ camcontrol clri devfs dmesg dump \
dumpfs dumpon fsck fsck_ffs fsck_msdosfs fsdb \
fsirand gbde geom ifconfig init \
kldconfig kldload kldstat kldunload ldconfig \
@@ -98,13 +98,17 @@ CRUNCH_PROGS_sbin= badsect \
mount_msdosfs mount_nfs mount_nullfs \
mount_udf mount_unionfs newfs \
newfs_msdos nos-tun ping reboot \
- restore rcorder route routed rtquery rtsol savecore \
+ restore rcorder route rtsol savecore \
shutdown spppcontrol swapon sysctl tunefs umount
.if ${MK_ATM} != "no"
CRUNCH_PROGS_sbin+= atmconfig
.endif
+.if ${MK_CCD} != "no"
+CRUNCH_PROGS_sbin+= ccdconfig
+.endif
+
.if ${MK_INET6_SUPPORT} != "no"
CRUNCH_PROGS_sbin+= ping6
.endif
@@ -112,6 +116,11 @@ CRUNCH_PROGS_sbin+= ping6
.if ${MK_IPFILTER} != "no"
CRUNCH_PROGS_sbin+= ipf
.endif
+
+.if ${MK_ROUTED} != "no"
+CRUNCH_PROGS_sbin+= routed rtquery
+.endif
+
.if ${MK_ZFS} != "no"
CRUNCH_PROGS_sbin+= zfs
CRUNCH_PROGS_sbin+= zpool