summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-03-18 17:40:33 -0700
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-30 18:07:26 +0200
commit35e4f6a626cbd86fdfc4e9375d9a7d4dad02fcfe (patch)
treecec25067bd5eeb66973776651bbf729603535974
parent46689b0804eb0570ab04451e02f9e1bf1488b7b6 (diff)
linux-toradex_4.4: 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: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r--recipes-kernel/linux/linux-toradex_4.4.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex_4.4.bb b/recipes-kernel/linux/linux-toradex_4.4.bb
index 7bdb57a..54f748e 100644
--- a/recipes-kernel/linux/linux-toradex_4.4.bb
+++ b/recipes-kernel/linux/linux-toradex_4.4.bb
@@ -6,6 +6,8 @@ SUMMARY = "Linux kernel for Toradex Colibri VFxx Computer on Modules"
SRC_URI = "git://git.toradex.com/linux-toradex.git;protocol=git;branch=${SRCBRANCH} \
file://defconfig"
+KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('COMBINED_FEATURES', 'usbgadget', ' libcomposite', '',d)}"
+
LOCALVERSION = "-v2.6b1"
SRCBRANCH = "toradex_vf_4.4-next"
SRCREV = "a892c86d9498144ca1306f6a308a68b96d5aef88"