From 3b0c5a3818555988b6235144e0174b1a512719b7 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@suse.de>
Date: Wed, 17 Sep 2008 16:34:19 +0100
Subject: uwb: add WiMedia LLC Protocol (build system)

Add the WLP build system (Kconfig and Kbuild files).

Signed-off-by: David Vrabel <david.vrabel@csr.com>
---
 drivers/uwb/Kconfig      |  7 +++++++
 drivers/uwb/Makefile     |  1 +
 drivers/uwb/wlp/Makefile | 10 ++++++++++
 3 files changed, 18 insertions(+)
 create mode 100644 drivers/uwb/wlp/Makefile

(limited to 'drivers/uwb')

diff --git a/drivers/uwb/Kconfig b/drivers/uwb/Kconfig
index a442f39f354..41f8984d198 100644
--- a/drivers/uwb/Kconfig
+++ b/drivers/uwb/Kconfig
@@ -57,4 +57,11 @@ config UWB_WHCI
           To compile this driver select Y (built in) or M (module). It
           is safe to select any even if you do not have the hardware.
 
+config UWB_WLP
+	tristate "Support WiMedia Link Protocol (Ethernet/IP over UWB)"
+	depends on UWB && NET
+	help
+	  This is a common library for drivers that implement
+	  networking over UWB.
+
 endif # UWB
diff --git a/drivers/uwb/Makefile b/drivers/uwb/Makefile
index 6bdb8e7f91c..79f48e3d4ec 100644
--- a/drivers/uwb/Makefile
+++ b/drivers/uwb/Makefile
@@ -1,4 +1,5 @@
 obj-$(CONFIG_UWB)		+= uwb.o
+obj-$(CONFIG_UWB_WLP)		+= wlp/
 obj-$(CONFIG_UWB_WHCI)		+= umc.o whci.o whc-rc.o
 obj-$(CONFIG_UWB_HWA)		+= hwa-rc.o
 
diff --git a/drivers/uwb/wlp/Makefile b/drivers/uwb/wlp/Makefile
new file mode 100644
index 00000000000..c72c11db5b1
--- /dev/null
+++ b/drivers/uwb/wlp/Makefile
@@ -0,0 +1,10 @@
+obj-$(CONFIG_UWB_WLP) := wlp.o
+
+wlp-objs :=	\
+	driver.o	\
+	eda.o		\
+	messages.o	\
+	sysfs.o		\
+	txrx.o		\
+	wlp-lc.o	\
+	wss-lc.o
-- 
cgit