summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2015-10-21 02:26:57 +0200
committerStefan Agner <stefan.agner@toradex.com>2015-10-21 03:05:45 +0200
commit17f7144f838482f000983fe24434eeae9d74dd6b (patch)
tree5f63592901f3c676092799fda1224509f8d78e34
parente60ea33ef123b3347453237405df9e89f7e1e7a0 (diff)
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.
-rw-r--r--recipes-kernel/linux/linux-toradex_4.1.bb9
1 files changed, 6 insertions, 3 deletions
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)"