From 5d5329b56e937c5a86036d4b1f31d9c092844173 Mon Sep 17 00:00:00 2001 From: Igor Opaniuk Date: Mon, 30 Nov 2020 15:51:41 +0200 Subject: linux-toradex-mainline: add usbgadget/libcomposite as autoload mods Add usbgadget and libcomposite as autoload modules. Related-to: ELB-3152 Signed-off-by: Igor Opaniuk (cherry picked from commit 9893d9662d5c9f883eaca89227945c13894463c0) --- recipes-kernel/linux/linux-toradex-mainline_5.4.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-kernel/linux/linux-toradex-mainline_5.4.bb b/recipes-kernel/linux/linux-toradex-mainline_5.4.bb index 4f7a7d8..9565db1 100644 --- a/recipes-kernel/linux/linux-toradex-mainline_5.4.bb +++ b/recipes-kernel/linux/linux-toradex-mainline_5.4.bb @@ -20,5 +20,8 @@ SRC_URI_append_preempt-rt = " \ SRC_URI[rt-patch.md5sum] = "cf96e01e04ec8743e4b24caec76d2c2d" SRC_URI[rt-patch.sha256sum] = "a0966fb60ce26f28e4dea5eb9db2e62974e1391470ea1bdb88e2d884a3280dc4" +# Load USB functions configurable through configfs (CONFIG_USB_CONFIGFS) +KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('COMBINED_FEATURES', 'usbgadget', ' libcomposite', '',d)}" + KBUILD_DEFCONFIG ?= "toradex-imx_v6_v7_defconfig" KBUILD_DEFCONFIG_apalis-tk1 ?= "tegra_defconfig" -- cgit v1.2.3