From bb20133414cee6d9931728462aea07597f080ab3 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 31 Mar 2016 13:52:35 +0200 Subject: 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 --- recipes-kernel/linux/linux-toradex_3.14.52.bb | 3 +++ 1 file changed, 3 insertions(+) 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" -- cgit v1.2.3