[linux-yocto] [PATCH 2/9] meta: Add usb-gadgets scc and cfg

Darren Hart dvhart at linux.intel.com
Sat May 18 14:47:31 PDT 2013

Add all USB gadget drivers as modules. Include the USB dependency, but
omit BLOCK, NET, and VIDEODEV. If the user wants those gadets to get
built, they will need to include those options explicitly, otherwise we
would pull in too much, and it doesn't make sense to create groups of

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
 meta/cfg/kernel-cache/features/usb/usb-gadgets.cfg | 17 +++++++++++++++++
 meta/cfg/kernel-cache/features/usb/usb-gadgets.scc |  9 +++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 meta/cfg/kernel-cache/features/usb/usb-gadgets.cfg
 create mode 100644 meta/cfg/kernel-cache/features/usb/usb-gadgets.scc

diff --git a/meta/cfg/kernel-cache/features/usb/usb-gadgets.cfg b/meta/cfg/kernel-cache/features/usb/usb-gadgets.cfg
new file mode 100644
index 0000000..d208fdf
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/usb/usb-gadgets.cfg
@@ -0,0 +1,17 @@
diff --git a/meta/cfg/kernel-cache/features/usb/usb-gadgets.scc b/meta/cfg/kernel-cache/features/usb/usb-gadgets.scc
new file mode 100644
index 0000000..5611d82
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/usb/usb-gadgets.scc
@@ -0,0 +1,9 @@
+define KFEATURE_DESCRIPTION "Enable USB gadgets modules"
+include usb-base.scc
+# Some gadgets require one or more of the following:
+kconf hardware usb-gadgets.cfg

More information about the linux-yocto mailing list