From c3d8c955c321baf33086908d50412b3283015f0b Mon Sep 17 00:00:00 2001 From: yar Date: Thu, 21 Dec 2006 21:35:49 +0000 Subject: 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) --- sys/modules/ufs/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/modules') 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 -- cgit v1.1