]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.25/patches.drivers/0003-Staging-add-Kconfig-entries-and-Makefile-infrastruc.patch
Revert "Move xen patchset to new version's subdir."
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.drivers / 0003-Staging-add-Kconfig-entries-and-Makefile-infrastruc.patch
CommitLineData
00e5a55c
BS
1From 350455891377250cf7e0eadc5f9635decc1628af Mon Sep 17 00:00:00 2001
2From: Greg Kroah-Hartman <gregkh@suse.de>
3Date: Wed, 24 Sep 2008 14:46:44 -0700
4Subject: [PATCH 03/23] Staging: add Kconfig entries and Makefile infrastructure
5Patch-mainline: 2.6.28
6
7This hooks up the drivers/staging directory to the build system
8
9Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
10---
11 drivers/Kconfig | 2 ++
12 drivers/Makefile | 1 +
13 drivers/staging/Kconfig | 27 +++++++++++++++++++++++++++
14 drivers/staging/Makefile | 2 ++
15 4 files changed, 32 insertions(+)
16 create mode 100644 drivers/staging/Kconfig
17 create mode 100644 drivers/staging/Makefile
18
19--- a/drivers/Kconfig
20+++ b/drivers/Kconfig
21@@ -101,4 +101,6 @@ source "drivers/auxdisplay/Kconfig"
22 source "drivers/uio/Kconfig"
23
24 source "drivers/xen/Kconfig"
25+
26+source "drivers/staging/Kconfig"
27 endmenu
28--- a/drivers/Makefile
29+++ b/drivers/Makefile
30@@ -99,3 +99,4 @@ obj-$(CONFIG_OF) += of/
31 obj-$(CONFIG_SSB) += ssb/
32 obj-$(CONFIG_VIRTIO) += virtio/
33 obj-$(CONFIG_REGULATOR) += regulator/
34+obj-$(CONFIG_STAGING) += staging/
35--- /dev/null
36+++ b/drivers/staging/Kconfig
37@@ -0,0 +1,27 @@
38+menuconfig STAGING
39+ bool "Staging drivers"
40+ default n
41+ ---help---
42+ This option allows you to select a number of drivers that are
43+ not of the "normal" Linux kernel quality level. These drivers
44+ are placed here in order to get a wider audience for use of
45+ them. Please note that these drivers are under heavy
46+ development, may or may not work, and may contain userspace
47+ interfaces that most likely will be changed in the near
48+ future.
49+
50+ Using any of these drivers will taint your kernel which might
51+ affect support options from both the community, and various
52+ commercial support orginizations.
53+
54+ If you wish to work on these drivers, to help improve them, or
55+ to report problems you have with them, please see the
56+ driver_name.README file in the drivers/staging/ directory to
57+ see what needs to be worked on, and who to contact.
58+
59+ If in doubt, say N here.
60+
61+if STAGING
62+
63+
64+endif # STAGING
65--- /dev/null
66+++ b/drivers/staging/Makefile
67@@ -0,0 +1,2 @@
68+# Makefile for staging directory
69+