diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2016-03-18 17:40:33 -0700 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-03-30 18:07:26 +0200 |
commit | 48cb9578d618d725b29a50cf47d69920a48c9159 (patch) | |
tree | 081c80e6cf04779db03e201b449bac3c9a86cf74 /recipes-kernel | |
parent | 1fadffe94be0786dc51b76e860adbc5e26eaa2ab (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>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-toradex_4.4.bb | 2 |
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" |