Source-Changes-HG archive

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

[src/trunk]: src/sys/rump Make putter its own component: rumpdev_putter. It ...



details:   https://anonhg.NetBSD.org/src/rev/2ddf4d1f25f4
branches:  trunk
changeset: 755962:2ddf4d1f25f4
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Jun 30 16:14:18 2010 +0000

description:
Make putter its own component: rumpdev_putter.  It was coupled in
with rumpfs_puffs for prehistoric reasons which are no longer valid
(namely, only fs components existed back then and there was no /dev
support in rump fs namespace).

diffstat:

 sys/rump/dev/Makefile.rumpdev            |   7 +++----
 sys/rump/dev/lib/libputter/Makefile      |  11 +++++++++++
 sys/rump/dev/lib/libputter/shlib_version |   4 ++++
 sys/rump/fs/lib/libsyspuffs/Makefile     |   6 ++----
 4 files changed, 20 insertions(+), 8 deletions(-)

diffs (63 lines):

diff -r 5d387ba55f44 -r 2ddf4d1f25f4 sys/rump/dev/Makefile.rumpdev
--- a/sys/rump/dev/Makefile.rumpdev     Wed Jun 30 15:50:20 2010 +0000
+++ b/sys/rump/dev/Makefile.rumpdev     Wed Jun 30 16:14:18 2010 +0000
@@ -1,9 +1,8 @@
-#      $NetBSD: Makefile.rumpdev,v 1.13 2010/05/01 23:24:40 pooka Exp $
+#      $NetBSD: Makefile.rumpdev,v 1.14 2010/06/30 16:14:18 pooka Exp $
 #
 
-RUMPDEVLIST=   audio bpf cgd disk dm fss netsmb pad raidframe rnd      \
-               sysmon ubt ucom ugenhc ulpt umass usb wscons
-
+RUMPDEVLIST=   audio bpf cgd disk dm fss netsmb pad putter raidframe   \
+               rnd sysmon ubt ucom ugenhc ulpt umass usb wscons
 
 .for var in ${RUMPDEVLIST}
 RUMPDEVLIBS+=lib${var}
diff -r 5d387ba55f44 -r 2ddf4d1f25f4 sys/rump/dev/lib/libputter/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/dev/lib/libputter/Makefile       Wed Jun 30 16:14:18 2010 +0000
@@ -0,0 +1,11 @@
+#      $NetBSD: Makefile,v 1.1 2010/06/30 16:14:18 pooka Exp $
+#
+
+.PATH: ${.CURDIR}/../../../../dev/putter
+
+LIB=   rumpdev_putter
+
+SRCS=  putter.c
+
+.include <bsd.lib.mk>
+.include <bsd.klinks.mk>
diff -r 5d387ba55f44 -r 2ddf4d1f25f4 sys/rump/dev/lib/libputter/shlib_version
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/dev/lib/libputter/shlib_version  Wed Jun 30 16:14:18 2010 +0000
@@ -0,0 +1,4 @@
+#      $NetBSD: shlib_version,v 1.1 2010/06/30 16:14:18 pooka Exp $
+#
+major=0
+minor=0
diff -r 5d387ba55f44 -r 2ddf4d1f25f4 sys/rump/fs/lib/libsyspuffs/Makefile
--- a/sys/rump/fs/lib/libsyspuffs/Makefile      Wed Jun 30 15:50:20 2010 +0000
+++ b/sys/rump/fs/lib/libsyspuffs/Makefile      Wed Jun 30 16:14:18 2010 +0000
@@ -1,18 +1,16 @@
-#      $NetBSD: Makefile,v 1.5 2010/06/30 15:50:20 pooka Exp $
+#      $NetBSD: Makefile,v 1.6 2010/06/30 16:14:18 pooka Exp $
 #
 
 .PATH:  ${.CURDIR}/../../../../fs/puffs
-.PATH:  ${.CURDIR}/../../../../dev/putter
 
 LIB=   rumpfs_syspuffs
 
 SRCS=  puffs_msgif.c puffs_node.c puffs_subr.c puffs_vfsops.c puffs_vnops.c
-SRCS+= putter.c
 
 SRCS+= puffs_rumpglue.c
 SRCS+= component.c
 
-CPPFLAGS+= -DPUFFSDEBUG -DPUTTERDEBUG -I${RUMPTOP}/librump/rumpvfs
+CPPFLAGS+= -DPUFFSDEBUG -I${RUMPTOP}/librump/rumpvfs
 CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern
 
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index