summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2016-03-31 13:52:35 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-31 17:47:06 +0200
commitbb20133414cee6d9931728462aea07597f080ab3 (patch)
treea5595fa49f2f096083b1cbf7fc1f594856ac0222 /recipes-kernel
parentbd0d9194125742bb02f12f4e9ced1c114b6c3501 (diff)
linux-toradex_3.14.52: autoload USB gadget modules
Use KERNEL_MODULE_AUTOLOAD to load USB gadget support. This is required for libusbg (gadget-import) to work. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-toradex_3.14.52.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex_3.14.52.bb b/recipes-kernel/linux/linux-toradex_3.14.52.bb
index 4781707..2d23681 100644
--- a/recipes-kernel/linux/linux-toradex_3.14.52.bb
+++ b/recipes-kernel/linux/linux-toradex_3.14.52.bb
@@ -6,6 +6,9 @@ SUMMARY = "Linux kernel for Toradex Freescale i.MX based modules"
SRC_URI = "git://git.toradex.com/linux-toradex.git;protocol=git;branch=${SRCBRANCH} \
file://defconfig"
+# Load USB functions configurable through configfs (CONFIG_USB_CONFIGFS)
+KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('COMBINED_FEATURES', 'usbgadget', ' libcomposite', '',d)}"
+
LOCALVERSION = "-v2.6b2"
SRCBRANCH = "toradex_imx_3.14.52_1.1.0_ga-next"
SRCREV = "9ace52b11aca9bbb657a35612c72c83c85b7e92c"