[yocto] [PATCH 2/5][KERNEL] meta: add usb/xhci-hcd feature

tom.zanussi at intel.com tom.zanussi at intel.com
Wed May 2 20:35:21 PDT 2012


From: Tom Zanussi <tom.zanussi at intel.com>

Add an 'xhci-hcd' feature that turns on the kernel options required to
support xhci (USB 3.0).

Signed-off-by: Tom Zanussi <tom.zanussi at intel.com>
---
 .../features/usb/xhci-hcd/xhci-hcd.cfg             |    1 +
 .../features/usb/xhci-hcd/xhci-hcd.scc             |    6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)
 create mode 100644 meta/cfg/kernel-cache/features/usb/xhci-hcd/xhci-hcd.cfg
 create mode 100644 meta/cfg/kernel-cache/features/usb/xhci-hcd/xhci-hcd.scc

diff --git a/meta/cfg/kernel-cache/features/usb/xhci-hcd/xhci-hcd.cfg b/meta/cfg/kernel-cache/features/usb/xhci-hcd/xhci-hcd.cfg
new file mode 100644
index 0000000..ae4294b
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/usb/xhci-hcd/xhci-hcd.cfg
@@ -0,0 +1 @@
+CONFIG_USB_XHCI_HCD=y
diff --git a/meta/cfg/kernel-cache/features/usb/xhci-hcd/xhci-hcd.scc b/meta/cfg/kernel-cache/features/usb/xhci-hcd/xhci-hcd.scc
new file mode 100644
index 0000000..e9251af
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/usb/xhci-hcd/xhci-hcd.scc
@@ -0,0 +1,6 @@
+define KFEATURE_DESCRIPTION "Enable options for xhci (USB 3.0)"
+define KFEATURE_COMPATIBILITY board
+
+kconf hardware xhci-hcd.cfg
+
+include features/usb/host/base.scc
-- 
1.7.0.4




More information about the yocto mailing list