diff options
author | yar <yar@FreeBSD.org> | 2006-12-21 21:35:49 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-12-21 21:35:49 +0000 |
commit | c3d8c955c321baf33086908d50412b3283015f0b (patch) | |
tree | 69820d4d975951f4e985e40d0f37191fdc627466 /sys | |
parent | c16199897996d6cedadb0ad5a7c2edc858fa178c (diff) | |
download | FreeBSD-src-c3d8c955c321baf33086908d50412b3283015f0b.zip FreeBSD-src-c3d8c955c321baf33086908d50412b3283015f0b.tar.gz |
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)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/modules/ufs/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/ufs/Makefile b/sys/modules/ufs/Makefile index 6b471fd..9c5927c 100644 --- a/sys/modules/ufs/Makefile +++ b/sys/modules/ufs/Makefile @@ -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> |