Source-Changes-HG archive

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

[src/trunk]: src/sys/rump Add infrastructure for kern compnents. This is mea...



details:   https://anonhg.NetBSD.org/src/rev/3ae2ed0e4674
branches:  trunk
changeset: 755593:3ae2ed0e4674
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Jun 10 21:56:42 2010 +0000

description:
Add infrastructure for kern compnents.  This is meant for those
components which are too bloaty to be included in rumpkern (where
bloaty means "can be easily left out without anyone missing"), but
generally do not require the support of the dev/fs/net factions to
function.  As the first one, add ksems.  librumpcrypto will migrate
here too once I get my timeslice to deal with the setlists, as most
likely will tty support.

diffstat:

 sys/rump/Makefile                       |   4 ++--
 sys/rump/kern/Makefile                  |   6 ++++++
 sys/rump/kern/lib/Makefile              |   6 ++++++
 sys/rump/kern/lib/Makefile.inc          |   6 ++++++
 sys/rump/kern/lib/libksem/Makefile      |  11 +++++++++++
 sys/rump/kern/lib/libksem/shlib_version |   4 ++++
 6 files changed, 35 insertions(+), 2 deletions(-)

diffs (65 lines):

diff -r afa1208263ee -r 3ae2ed0e4674 sys/rump/Makefile
--- a/sys/rump/Makefile Thu Jun 10 21:40:42 2010 +0000
+++ b/sys/rump/Makefile Thu Jun 10 21:56:42 2010 +0000
@@ -1,6 +1,6 @@
-#      $NetBSD: Makefile,v 1.5 2009/09/04 17:21:34 pooka Exp $
+#      $NetBSD: Makefile,v 1.6 2010/06/10 21:56:42 pooka Exp $
 #
 
-SUBDIR=        include librump dev fs net
+SUBDIR=        include librump dev fs kern net
 
 .include <bsd.subdir.mk>
diff -r afa1208263ee -r 3ae2ed0e4674 sys/rump/kern/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/kern/Makefile    Thu Jun 10 21:56:42 2010 +0000
@@ -0,0 +1,6 @@
+#      $NetBSD: Makefile,v 1.1 2010/06/10 21:56:42 pooka Exp $
+#
+
+SUBDIR=        lib
+
+.include <bsd.subdir.mk>
diff -r afa1208263ee -r 3ae2ed0e4674 sys/rump/kern/lib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/kern/lib/Makefile        Thu Jun 10 21:56:42 2010 +0000
@@ -0,0 +1,6 @@
+#      $NetBSD: Makefile,v 1.1 2010/06/10 21:56:42 pooka Exp $
+#
+
+SUBDIR+=       libksem
+
+.include <bsd.subdir.mk>
diff -r afa1208263ee -r 3ae2ed0e4674 sys/rump/kern/lib/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/kern/lib/Makefile.inc    Thu Jun 10 21:56:42 2010 +0000
@@ -0,0 +1,6 @@
+#      $NetBSD: Makefile.inc,v 1.1 2010/06/10 21:56:42 pooka Exp $
+#
+
+RUMPTOP=       ${.CURDIR}/../../..
+
+.include "${RUMPTOP}/Makefile.rump"
diff -r afa1208263ee -r 3ae2ed0e4674 sys/rump/kern/lib/libksem/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/kern/lib/libksem/Makefile        Thu Jun 10 21:56:42 2010 +0000
@@ -0,0 +1,11 @@
+#      $NetBSD: Makefile,v 1.1 2010/06/10 21:56:42 pooka Exp $
+#
+
+.PATH:  ${.CURDIR}/../../../../kern
+
+LIB=   rumpkern_ksem
+
+SRCS=  uipc_sem.c
+
+.include <bsd.lib.mk>
+.include <bsd.klinks.mk>
diff -r afa1208263ee -r 3ae2ed0e4674 sys/rump/kern/lib/libksem/shlib_version
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/kern/lib/libksem/shlib_version   Thu Jun 10 21:56:42 2010 +0000
@@ -0,0 +1,4 @@
+#      $NetBSD: shlib_version,v 1.1 2010/06/10 21:56:42 pooka Exp $
+#
+major=0
+minor=0



Home | Main Index | Thread Index | Old Index