Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules/lfs Update the sources list for lfs.



details:   https://anonhg.NetBSD.org/src/rev/da37b8a103c7
branches:  trunk
changeset: 787400:da37b8a103c7
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Jun 16 03:55:35 2013 +0000

description:
Update the sources list for lfs.

It is a defect in our module system that failure to include all the sources
in here does not result in a build failure with undefined symbols.

(It is also a defect in our module system that we need a whole parallel
system of source lists for it.)

diffstat:

 sys/modules/lfs/Makefile |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 80880a057f4b -r da37b8a103c7 sys/modules/lfs/Makefile
--- a/sys/modules/lfs/Makefile  Sun Jun 16 01:51:29 2013 +0000
+++ b/sys/modules/lfs/Makefile  Sun Jun 16 03:55:35 2013 +0000
@@ -1,14 +1,19 @@
-#      $NetBSD: Makefile,v 1.3 2010/03/02 18:00:24 pooka Exp $
+#      $NetBSD: Makefile,v 1.4 2013/06/16 03:55:35 dholland Exp $
 
 .include "../Makefile.inc"
 
-.PATH: ${S}/ufs/lfs ${S}/ufs/ufs
+.PATH: ${S}/ufs/lfs
 
-lfs_vnops.o: ufs_readwrite.c
+lfs_vnops.o: ulfs_readwrite.c
 
 KMOD=  lfs
+CPPFLAGS+=#-DLFS_DIRHASH -DLFS_EI -DLFS_QUOTA -DLFS_QUOTA2
+
 SRCS=  lfs_vfsops.c lfs_vnops.c lfs_subr.c lfs_alloc.c lfs_balloc.c \
        lfs_bio.c lfs_cksum.c lfs_debug.c lfs_inode.c lfs_segment.c \
        lfs_syscalls.c lfs_itimes.c
 
+SRCS+= ulfs_bmap.c ulfs_dirhash.c ulfs_ihash.c ulfs_inode.c ulfs_lookup.c \
+       ulfs_rename.c ulfs_snapshot.c ulfs_vfsops.c ulfs_vnops.c
+
 .include <bsd.kmodule.mk>



Home | Main Index | Thread Index | Old Index