summaryrefslogtreecommitdiff
path: root/recipes-kernel
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
commit54b8eb5049352bdd3e2d6e09bb839d854076bfdf (patch)
treebb5917d405a455f41ba1871912f1d0b101b0a5f9 /recipes-kernel
parent67e8b1fa79536f74a69c453079417bcc26982fc3 (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.
Diffstat (limited to 'recipes-kernel')
-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)"