Allow this module to get its options from the kernel build directory

instead of always hard coding them in CFLAGS.  POLA is kept here:
The module file built with GENERIC stays the same.

Tested with:	md5(1)
This commit is contained in:
Yaroslav Tykhiy 2006-12-21 21:35:49 +00:00
parent df82698084
commit 1ffe761633
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165450

View File

@ -10,6 +10,8 @@ SRCS= opt_ddb.h opt_directio.h opt_ffs.h opt_ffs_broken_fixme.h opt_mac.h \
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
.if !defined(KERNBUILDDIR)
CFLAGS+= -DSOFTUPDATES -DUFS_DIRHASH
.endif
.include <bsd.kmod.mk>