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

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

 



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

9P server Kconfig and Makefile changes.

Signed-off-by: Latchesar Ionkov <[email protected]>
---
 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux