m5: Build rtk_btusb module
authorJan Altensen <info@stricted.net>
Sat, 17 Jul 2021 11:18:30 +0000 (13:18 +0200)
committerNolen Johnson <johnsonnolen@gmail.com>
Fri, 30 Jul 2021 17:41:41 +0000 (13:41 -0400)
Change-Id: Ide403ef266be6f55fbb8b956bb77b598d84430ce

device.mk
init-files/init.amlogic.wifi_buildin.rc
lineage.dependencies

index 5cd67a9ac9f575a33db28545723391933e8b1de2..637462f47e7f73a52c93f97522f8e63cd7903b1f 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -22,7 +22,8 @@ PRODUCT_COPY_FILES += \
 
 ## Kernel Modules
 PRODUCT_PACKAGES += \
-    8822cs
+    8822cs \
+    rtk_btusb
 
 ## Overlays
 DEVICE_PACKAGE_OVERLAYS += \
index 0c9190e4fe3e739cb7ef9de9cdbaaa867845148f..810ad07fdd7f33a4928125802101bffa690cee08 100644 (file)
@@ -1,2 +1,3 @@
 on boot
+    insmod /vendor/lib/modules/rtk_btusb.ko
     insmod /vendor/lib/modules/8822cs.ko rtw_country_code=US ifname=wlan0 if2name=p2p0
index 3abebda2b685ee3ce8f358519690132668418cb6..a2a6823c3e663b4bcf2f1bc6c88b835fd04e1143 100644 (file)
@@ -3,6 +3,10 @@
     "repository": "android_device_amlogic_g12-common",
     "target_path": "device/amlogic/g12-common"
   },
+  {
+    "repository": "android_hardware_amlogic_kernel-modules_rtk_btusb"
+    "target_path": "hardware/amlogic/kernel-modules/rtk_btusb"
+  },
   {
     "repository": "android_hardware_amlogic_kernel-modules_rtl8822cs"
     "target_path": "hardware/amlogic/kernel-modules/rtl8822cs"