wade: Properly build WLAN kernel module
authorBruno Martins <bgcngm@gmail.com>
Sat, 16 Dec 2023 21:54:10 +0000 (21:54 +0000)
committerBruno Martins <bgcngm@gmail.com>
Sun, 7 Jul 2024 16:51:02 +0000 (17:51 +0100)
Change-Id: I1b02fd710c43ef66025d5d395728785c0ce3ddbe

BoardConfig.mk
device.mk
lineage.dependencies

index 211d69e56896fa42268e404ea7b4cc82028513d6..85a9df39e165e7a6639ded8c9164bde410618780 100644 (file)
@@ -22,6 +22,10 @@ TARGET_DTBO_NAME := sti6140d350_overlay
 ## HIDL
 DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
 
+## Kernel modules
+TARGET_KERNEL_EXT_MODULES := \
+    dhd-driver/bcmdhd.101.10.361.x
+
 ## Partitions
 BOARD_SUPER_PARTITION_SIZE := 1677721600
 
index c2859bd689aa31a3cd149b29b98b4697346dc572..5810e7a79fac94569e9e021c815179ed2b989586 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -26,10 +26,6 @@ PRODUCT_PACKAGES += \
 PRODUCT_COPY_FILES += \
     frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
 
-## Kernel Modules
-PRODUCT_PACKAGES += \
-    dhd
-
 ## Keylayout (IR)
 PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/keylayout/Vendor_0001_Product_0001.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_0001_Product_0001.kl
index a1a158be7d52325a59eeaa44f886c4a621a71983..ff93eb9a88bcca415146fbc27ebd8c56f3a76f9c 100644 (file)
@@ -5,6 +5,6 @@
   },
   {
     "repository": "android_hardware_amlogic_kernel-modules_dhd-driver",
-    "target_path": "hardware/amlogic/kernel-modules/dhd-driver"
+    "target_path": "kernel/amlogic/kernel-modules/dhd-driver"
   }
 ]