meta-somdevices: Created wilc-modules-load.bb to load wilc-sdio as default Wi-Fi...
authorAlejandro Benete <abenete@somdevices.com>
Tue, 30 Mar 2021 09:10:00 +0000 (11:10 +0200)
committerAlejandro Benete <abenete@somdevices.com>
Tue, 30 Mar 2021 09:10:00 +0000 (11:10 +0200)
Signed-off-by: Alejandro Benete <abenete@somdevices.com>
recipes-kernel/wilc/wilc-modules-load.bb [new file with mode: 0644]

diff --git a/recipes-kernel/wilc/wilc-modules-load.bb b/recipes-kernel/wilc/wilc-modules-load.bb
new file mode 100644 (file)
index 0000000..ea9e792
--- /dev/null
@@ -0,0 +1,12 @@
+SUMMARY = "Load WILC3000 modules as default Wi-Fi and Bluetooth modules"
+DESCRIPTION = "Add necessary modules-load file to use WILC3000 WIFI/BT combo"
+
+LICENSE = "MIT"
+
+PV="15.4.1"
+DEBIAN_NOAUTONAME_${PN} = "1"
+
+do_install () {
+       mkdir -p ${D}/etc/modules-load.d/
+       echo wilc-sdio > ${D}/etc/modules-load.d/wifi.conf
+}