Staging: add Kconfig entries and Makefile infrastructure
Greg Kroah-Hartman [Wed, 24 Sep 2008 21:46:44 +0000 (14:46 -0700)]
This hooks up the drivers/staging directory to the build system

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

drivers/Kconfig
drivers/Makefile
drivers/staging/Kconfig [new file with mode: 0644]
drivers/staging/Makefile [new file with mode: 0644]

index 59f33fa..d19b6f5 100644 (file)
@@ -101,4 +101,6 @@ source "drivers/auxdisplay/Kconfig"
 source "drivers/uio/Kconfig"
 
 source "drivers/xen/Kconfig"
+
+source "drivers/staging/Kconfig"
 endmenu
index 2735bde..46c8681 100644 (file)
@@ -99,3 +99,4 @@ obj-$(CONFIG_OF)              += of/
 obj-$(CONFIG_SSB)              += ssb/
 obj-$(CONFIG_VIRTIO)           += virtio/
 obj-$(CONFIG_REGULATOR)                += regulator/
+obj-$(CONFIG_STAGING)          += staging/
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
new file mode 100644 (file)
index 0000000..84832fe
--- /dev/null
@@ -0,0 +1,27 @@
+menuconfig STAGING
+       bool "Staging drivers"
+       default n
+       ---help---
+         This option allows you to select a number of drivers that are
+         not of the "normal" Linux kernel quality level.  These drivers
+         are placed here in order to get a wider audience for use of
+         them.  Please note that these drivers are under heavy
+         development, may or may not work, and may contain userspace
+         interfaces that most likely will be changed in the near
+         future.
+
+         Using any of these drivers will taint your kernel which might
+         affect support options from both the community, and various
+         commercial support orginizations.
+
+         If you wish to work on these drivers, to help improve them, or
+         to report problems you have with them, please see the
+         driver_name.README file in the drivers/staging/ directory to
+         see what needs to be worked on, and who to contact.
+
+         If in doubt, say N here.
+
+if STAGING
+
+
+endif # STAGING
diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile
new file mode 100644 (file)
index 0000000..ceb0328
--- /dev/null
@@ -0,0 +1,2 @@
+# Makefile for staging directory
+