From: Jan Altensen Date: Sat, 17 Jul 2021 11:18:30 +0000 (+0200) Subject: m5: Build rtk_btusb module X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0608b426379ec8af5c4237fd45aab48621d85655;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_bananapi_m5.git m5: Build rtk_btusb module Change-Id: Ide403ef266be6f55fbb8b956bb77b598d84430ce --- diff --git a/device.mk b/device.mk index 5cd67a9..637462f 100644 --- 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 += \ diff --git a/init-files/init.amlogic.wifi_buildin.rc b/init-files/init.amlogic.wifi_buildin.rc index 0c9190e..810ad07 100644 --- a/init-files/init.amlogic.wifi_buildin.rc +++ b/init-files/init.amlogic.wifi_buildin.rc @@ -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 diff --git a/lineage.dependencies b/lineage.dependencies index 3abebda..a2a6823 100644 --- a/lineage.dependencies +++ b/lineage.dependencies @@ -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"