From 48cb9578d618d725b29a50cf47d69920a48c9159 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 18 Mar 2016 17:40:33 -0700 Subject: 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 --- recipes-kernel/linux/linux-toradex_4.4.bb | 2 ++ 1 file changed, 2 insertions(+) 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" -- cgit v1.2.3