diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2016-03-31 13:52:35 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-03-31 17:47:06 +0200 |
commit | c9d38a1f9441ebfa8de096beb8aa8c77bba64153 (patch) | |
tree | f534b5df07732861af1038eddb52ef44de0949ab | |
parent | 0764218675c606b5db1013a890f8b4c925861340 (diff) |
linux-toradex_3.14.52: autoload USB gadget modulesColibri_iMX6_LinuxImageV2.6Beta1_20160331Colibri_VF_LinuxImageV2.6Beta1_20160331Colibri_T30_LinuxImageV2.6Beta1_20160331Colibri_T20_LinuxImageV2.6Beta1_20160331Apalis_iMX6_LinuxImageV2.6Beta1_20160331Apalis_T30_LinuxImageV2.6Beta1_20160331
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>
-rw-r--r-- | recipes-kernel/linux/linux-toradex_3.14.52.bb | 3 |
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" |