summaryrefslogtreecommitdiffstats
path: root/sys/modules/ufs
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2002-06-30 02:23:12 +0000
committeriedowse <iedowse@FreeBSD.org>2002-06-30 02:23:12 +0000
commit54212d560e90e5a14d6a8f0d9bae865c45722a5d (patch)
tree699eb863488bf06e28c9938f6de06bfb79736434 /sys/modules/ufs
parentf7dc2ca5847e0903cb4f8ae42bae6497e6477e0c (diff)
downloadFreeBSD-src-54212d560e90e5a14d6a8f0d9bae865c45722a5d.zip
FreeBSD-src-54212d560e90e5a14d6a8f0d9bae865c45722a5d.tar.gz
Add a makefile for building UFS as a module. Since it is of marginal
use it is not built by default, and there are currently bugs that prevent UFS from being unloaded. Nevertheless it can be useful when developing UFS code on network-booted machines.
Diffstat (limited to 'sys/modules/ufs')
-rw-r--r--sys/modules/ufs/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/modules/ufs/Makefile b/sys/modules/ufs/Makefile
new file mode 100644
index 0000000..66eff55
--- /dev/null
+++ b/sys/modules/ufs/Makefile
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../ufs/ufs ${.CURDIR}/../../ufs/ffs
+
+KMOD= ufs
+SRCS= opt_ddb.h opt_ffs.h opt_ffs_broken_fixme.h opt_quota.h opt_suiddir.h \
+ opt_ufs.h vnode_if.h ufs_acl.c ufs_bmap.c ufs_dirhash.c ufs_extattr.c \
+ ufs_ihash.c ufs_inode.c ufs_lookup.c ufs_quota.c ufs_vfsops.c \
+ ufs_vnops.c ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_snapshot.c \
+ ffs_softdep.c ffs_subr.c ffs_tables.c ffs_vfsops.c ffs_vnops.c
+
+CFLAGS+= -DSOFTUPDATES -DUFS_DIRHASH
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud