diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-02-04 20:16:50 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-02-04 20:16:50 +0000 |
commit | 3fd18735a4975d99908822d60291f410de46aaf6 (patch) | |
tree | d8b8f5c4969bfdcd1c63d6b82b4d52c5aeba8e1d | |
parent | 825830b9c01f0cb41e8afad435881bdd4cf749c2 (diff) | |
download | src-3fd18735a4975d99908822d60291f410de46aaf6.tar.gz src-3fd18735a4975d99908822d60291f410de46aaf6.zip |
Move the pseudofs, procfs and linprocfs modules out from the fs directory.
Keeping them there seemed like a good idea at the time, but it annoys bde
and confuses people who do not understand how MODULES_OVERRIDE works.
Notes
Notes:
svn path=/head/; revision=90223
-rw-r--r-- | sys/modules/Makefile | 4 | ||||
-rw-r--r-- | sys/modules/fs/Makefile | 8 | ||||
-rw-r--r-- | sys/modules/fs/procfs/Makefile | 20 | ||||
-rw-r--r-- | sys/modules/linprocfs/Makefile (renamed from sys/modules/fs/linprocfs/Makefile) | 2 | ||||
-rw-r--r-- | sys/modules/procfs/Makefile | 29 | ||||
-rw-r--r-- | sys/modules/pseudofs/Makefile (renamed from sys/modules/fs/pseudofs/Makefile) | 2 |
6 files changed, 34 insertions, 31 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 355f33cb8af6..5a0e063b7153 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -27,7 +27,6 @@ SUBDIR= 3dfx \ ed \ fdescfs \ fdc \ - fs \ fxp \ gx \ if_disc \ @@ -50,6 +49,7 @@ SUBDIR= 3dfx \ lge \ libiconv \ libmchain \ + linprocfs \ lnc \ lomac \ lpt \ @@ -69,6 +69,8 @@ SUBDIR= 3dfx \ ppbus \ ppi \ pps \ + procfs \ + pseudofs \ ${_random} \ rl \ rp \ diff --git a/sys/modules/fs/Makefile b/sys/modules/fs/Makefile deleted file mode 100644 index bedaa5aa79f9..000000000000 --- a/sys/modules/fs/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# $FreeBSD$ - -SUBDIR = -SUBDIR += linprocfs -SUBDIR += procfs -SUBDIR += pseudofs - -.include <bsd.subdir.mk> diff --git a/sys/modules/fs/procfs/Makefile b/sys/modules/fs/procfs/Makefile deleted file mode 100644 index ffb2ae7a336f..000000000000 --- a/sys/modules/fs/procfs/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR}/../../../fs/procfs - -KMOD= procfs -SRCS= vnode_if.h \ - procfs_ctl.c \ - procfs_dbregs.c \ - procfs_fpregs.c \ - procfs_ioctl.c \ - procfs_map.c \ - procfs_mem.c \ - procfs_note.c \ - procfs_regs.c \ - procfs_rlimit.c \ - procfs_status.c \ - procfs_type.c \ - procfs.c - -.include <bsd.kmod.mk> diff --git a/sys/modules/fs/linprocfs/Makefile b/sys/modules/linprocfs/Makefile index e7dced900b28..d26c40b8e06f 100644 --- a/sys/modules/fs/linprocfs/Makefile +++ b/sys/modules/linprocfs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../compat/linprocfs +.PATH: ${.CURDIR}/../../compat/linprocfs KMOD= linprocfs SRCS= vnode_if.h \ diff --git a/sys/modules/procfs/Makefile b/sys/modules/procfs/Makefile new file mode 100644 index 000000000000..75e23a0750f5 --- /dev/null +++ b/sys/modules/procfs/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../fs/procfs + +KMOD= procfs +SRCS= +SRCS+= vnode_if.h +SRCS+= procfs_ctl.c +SRCS+= procfs_dbregs.c +SRCS+= procfs_fpregs.c +SRCS+= procfs_ioctl.c +SRCS+= procfs_map.c +SRCS+= procfs_mem.c +SRCS+= procfs_note.c +SRCS+= procfs_regs.c +SRCS+= procfs_rlimit.c +SRCS+= procfs_status.c +SRCS+= procfs_type.c +SRCS+= procfs.c + +EXPORT_SYMS= +EXPORT_SYMS+= procfs_attr +EXPORT_SYMS+= procfs_candebug +EXPORT_SYMS+= procfs_docurproc +EXPORT_SYMS+= procfs_doprocfile +EXPORT_SYMS+= procfs_doprocmem +EXPORT_SYMS+= procfs_notsystem + +.include <bsd.kmod.mk> diff --git a/sys/modules/fs/pseudofs/Makefile b/sys/modules/pseudofs/Makefile index 906014f3ad92..d0c41ceadd2d 100644 --- a/sys/modules/fs/pseudofs/Makefile +++ b/sys/modules/pseudofs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../fs/pseudofs +.PATH: ${.CURDIR}/../../fs/pseudofs KMOD= pseudofs SRCS= vnode_if.h \ |