[RFCv1 8/9] xshm: Makefile and Kconfig for M7400 Shared Memory Drivers

From: Sjur BrÃndeland
Date: Mon Nov 21 2011 - 08:57:04 EST


Signed-off-by: Sjur BrÃndeland <sjur.brandeland@xxxxxxxxxxxxxx>
---
drivers/Kconfig | 2 ++
drivers/Makefile | 1 +
drivers/xshm/Kconfig | 10 ++++++++++
drivers/xshm/Makefile | 4 ++++
4 files changed, 17 insertions(+), 0 deletions(-)
create mode 100644 drivers/xshm/Kconfig
create mode 100644 drivers/xshm/Makefile

diff --git a/drivers/Kconfig b/drivers/Kconfig
index b5e6f24..c91a13c 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -136,4 +136,6 @@ source "drivers/hv/Kconfig"

source "drivers/devfreq/Kconfig"

+source "drivers/xshm/Kconfig"
+
endmenu
diff --git a/drivers/Makefile b/drivers/Makefile
index 1b31421..eedd8e5 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -120,6 +120,7 @@ obj-$(CONFIG_VLYNQ) += vlynq/
obj-$(CONFIG_STAGING) += staging/
obj-y += platform/
obj-y += ieee802154/
+obj-$(CONFIG_XSHM) += xshm/
#common clk code
obj-y += clk/

diff --git a/drivers/xshm/Kconfig b/drivers/xshm/Kconfig
new file mode 100644
index 0000000..fa627b8
--- /dev/null
+++ b/drivers/xshm/Kconfig
@@ -0,0 +1,10 @@
+config XSHM
+ tristate "External Shared Memory Protocol (XSHM)"
+# depends on GENIO
+ default n
+ ---help---
+ Say "yes" if you want to support External Shared Memory (XSHM)
+ IPC mechanism. XSHM is an IPC protocol used to talk to external
+ device such as modem over a shared memory (e.g. Chip to Chip).
+ This will normally be built-in, loadable module is used for testing.
+ If unsure say N.
diff --git a/drivers/xshm/Makefile b/drivers/xshm/Makefile
new file mode 100644
index 0000000..a630501
--- /dev/null
+++ b/drivers/xshm/Makefile
@@ -0,0 +1,4 @@
+obj-$(CONFIG_XSHM) += xshmchr.o
+xshmchr-objs := xshm_chr.o
+obj-$(CONFIG_XSHM) += xshm.o
+xshm-objs := xshm_boot.o xshm_pdev.o genio_dummy.o
--
1.7.1

--
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/