[RFC][PATCH 6/6] 9p: 9P server Kconfig and Makefile changes

From: Latchesar Ionkov
Date: Sun Sep 30 2007 - 19:05:39 EST


This patchset provides support for in-kernel 9P2000 servers.

9P server Kconfig and Makefile changes.

Signed-off-by: Latchesar Ionkov <lucho@xxxxxxxxxx>
---
net/9p/Kconfig | 1 +
net/9p/Makefile | 1 +
net/9p/srv/Kconfig | 9 +++++++++
net/9p/srv/Makefile | 7 +++++++
4 files changed, 18 insertions(+), 0 deletions(-)
create mode 100644 net/9p/srv/Kconfig
create mode 100644 net/9p/srv/Makefile

diff --git a/net/9p/Kconfig b/net/9p/Kconfig
index eecbf12..007ce2b 100644
--- a/net/9p/Kconfig
+++ b/net/9p/Kconfig
@@ -29,3 +29,4 @@ config NET_9P_DEBUG
help
Say Y if you want the 9P subsistem to log debug information.

+source "net/9p/srv/Kconfig"
diff --git a/net/9p/Makefile b/net/9p/Makefile
index 5059bc0..be4d93e 100644
--- a/net/9p/Makefile
+++ b/net/9p/Makefile
@@ -1,5 +1,6 @@
obj-$(CONFIG_NET_9P) := 9pnet.o
obj-$(CONFIG_NET_9P_FD) += 9pnet_fd.o
+obj-$(CONFIG_NET_9P_SRV) += srv/

9pnet-objs := \
mod.o \
diff --git a/net/9p/srv/Kconfig b/net/9p/srv/Kconfig
new file mode 100644
index 0000000..2013945
--- /dev/null
+++ b/net/9p/srv/Kconfig
@@ -0,0 +1,9 @@
+#
+# 9P server configuration
+#
+
+config NET_9P_SRV
+ tristate "9P server support"
+ depends on NET_9P
+ help
+ Say Y if you want the 9P server support
diff --git a/net/9p/srv/Makefile b/net/9p/srv/Makefile
new file mode 100644
index 0000000..c669592
--- /dev/null
+++ b/net/9p/srv/Makefile
@@ -0,0 +1,7 @@
+obj-$(CONFIG_NET_9P_SRV) += 9psrv.o
+
+9psrv-objs := \
+ srv.o \
+ conn.o \
+ fid.o \
+ socksrv.o \
--
1.5.2.4


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/