From 17f7144f838482f000983fe24434eeae9d74dd6b Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 21 Oct 2015 02:26:57 +0200 Subject: colibri_vf: update/load USB Gadget ConfigFS automatically Update defconfig and kernel version to latest version from git. This also configures the USB Gadget ConfigFS as a module. Add the ConfigFS module to the list of autoloaded modules. --- recipes-kernel/linux/linux-toradex_4.1.bb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/linux-toradex_4.1.bb b/recipes-kernel/linux/linux-toradex_4.1.bb index 0a65331..1286074 100644 --- a/recipes-kernel/linux/linux-toradex_4.1.bb +++ b/recipes-kernel/linux/linux-toradex_4.1.bb @@ -6,8 +6,11 @@ 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" -LOCALVERSION = "-v2.5b1" -SRCBRANCH = "toradex_vf_4.1" -SRCREV = "4d054fbf42d98a54bdb330eebfe419af8a825118" +# Load USB functions configurable through configfs (CONFIG_USB_CONFIGFS) +KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('COMBINED_FEATURES', 'usbgadget', ' libcomposite', '',d)}" + +LOCALVERSION = "-v2.5b2" +SRCBRANCH = "toradex_vf_4.1-next" +SRCREV = "db6b1f8270757539d90422ee5294bc25ff13a040" DEPENDS += "lzop-native bc-native" COMPATIBLE_MACHINE = "(vf)" -- cgit v1.2.3