summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authornia <nia@NetBSD.org>2022-05-27 07:28:20 +0000
committernia <nia@NetBSD.org>2022-05-27 07:28:20 +0000
commitaa9bc1445fdbfac0e78c33d2e7007cfc8d29d1b4 (patch)
treef521b5c58c1b3eb79493018f0d64ad6159e59171 /usr.sbin
parent8725cfcecc30fe91e8eb8ebd71b72a5d687648f5 (diff)
mk: Add a MKLFS flag for excluding the log-structured filesystem userspace
tools from the build.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/Makefile8
-rw-r--r--usr.sbin/puffs/Makefile8
2 files changed, 12 insertions, 4 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 8211d28534f..f9ac403b17a 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.288 2022/05/25 21:25:47 nia Exp $
+# $NetBSD: Makefile,v 1.289 2022/05/27 07:28:21 nia Exp $
# from: @(#)Makefile 5.20 (Berkeley) 6/12/93
.include <bsd.own.mk>
@@ -6,7 +6,7 @@
SUBDIR= ac accton acpitools altq apm apmd arp autofs \
bad144 bootp bta2dpd btattach btconfig btdevctl bthcid btpand catman \
chroot cnwctl cpuctl crash \
- dev_mkdb diskpart dumpfs dumplfs \
+ dev_mkdb diskpart dumpfs \
edquota eeprom envstat etcupdate extattrctl \
flashctl fssconfig fstyp fusermount fwctl \
gpioctl grfconfig gspa \
@@ -34,6 +34,10 @@ SUBDIR= ac accton acpitools altq apm apmd arp autofs \
wsconscfg wsfontload wsmoused wsmuxctl \
zdump zic
+.if ${MKLFS} != "no"
+SUBDIR+= dumplfs
+.endif
+
.if ${MKMAKEMANDB} != "no"
SUBDIR+= makemandb
.endif
diff --git a/usr.sbin/puffs/Makefile b/usr.sbin/puffs/Makefile
index ee965096b8a..03ed583678d 100644
--- a/usr.sbin/puffs/Makefile
+++ b/usr.sbin/puffs/Makefile
@@ -1,14 +1,18 @@
-# $NetBSD: Makefile,v 1.19 2020/04/04 17:05:06 christos Exp $
+# $NetBSD: Makefile,v 1.20 2022/05/27 07:28:21 nia Exp $
.include <bsd.own.mk>
SUBDIR= mount_9p mount_psshfs mount_sysctlfs
.if (${MKRUMP} != "no")
-SUBDIR+=rump_cd9660 rump_efs rump_ext2fs rump_ffs rump_hfs rump_lfs
+SUBDIR+=rump_cd9660 rump_efs rump_ext2fs rump_ffs rump_hfs
SUBDIR+=rump_msdos rump_nfs rump_ntfs rump_syspuffs rump_sysvbfs
SUBDIR+=rump_tmpfs rump_udf rump_v7fs
+. if ${MKLFS} != "no"
+SUBDIR+=rump_lfs
+. endif
+
#
# The following are not built by default
#