summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/driver.inc
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-01-22 17:44:46 -0600
committerJohn Klug <john.klug@multitech.com>2019-07-03 11:22:01 -0500
commitf78c1cd5485fbfe56bd94c3bd6d5198b3f4b891c (patch)
tree7dec12f0aadb479daef75f721a3df6050c230cda /recipes-kernel/linux/driver.inc
parent0000965edb8a75096e23ed02ba7ede6d31d48d93 (diff)
downloadmeta-multitech-f78c1cd5485fbfe56bd94c3bd6d5198b3f4b891c.tar.gz
meta-multitech-f78c1cd5485fbfe56bd94c3bd6d5198b3f4b891c.tar.bz2
meta-multitech-f78c1cd5485fbfe56bd94c3bd6d5198b3f4b891c.zip
Fix bitbake issues with machine variables and underscores
Diffstat (limited to 'recipes-kernel/linux/driver.inc')
-rw-r--r--recipes-kernel/linux/driver.inc20
1 files changed, 15 insertions, 5 deletions
diff --git a/recipes-kernel/linux/driver.inc b/recipes-kernel/linux/driver.inc
index 279156a..76ed3fa 100644
--- a/recipes-kernel/linux/driver.inc
+++ b/recipes-kernel/linux/driver.inc
@@ -1,11 +1,21 @@
# Hardware drivers to load on boot.
-
# Gadget serial is for MTCDT only
+
+DRIVER_LOAD_ALL_MACHINES = " \
+ atmel_usba_udc \
+ ledtrig-default-on \
+ ledtrig-heartbeat \
+"
+
KERNEL_MODULE_AUTOLOAD_mtcdt += " \
+ ${DRIVER_LOAD_ALL_MACHINES} \
g_serial \
"
-# Is this driver needed for mtcap?
-KERNEL_MODULE_AUTOLOAD += " \
- atmel_usba_udc \
-"
+
+# Is atmel_usba_udc needed for mtcap?
+KERNEL_MODULE_AUTOLOAD_mtcap += "${DRIVER_LOAD_ALL_MACHINES}"
+
+KERNEL_MODULE_AUTOLOAD_mtrv1 += "${DRIVER_LOAD_ALL_MACHINES}"
+
+KERNEL_MODULE_AUTOLOAD_mtr += "${DRIVER_LOAD_ALL_MACHINES}"