radxa0: 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, 21 Jul 2024 13:49:15 +0000 (14:49 +0100)
Change-Id: I1b02fd710c43ef66025d5d395728785c0ce3ddbe

BoardConfig.mk
device.mk
lineage.dependencies

index e39cd6d666c35535ac78528f489ed8e1fcfa911e..2a1f192828b70d31742f6f226b790b0d98931b39 100644 (file)
@@ -18,6 +18,10 @@ TARGET_BOOTLOADER_BOARD_NAME := radxa0
 ## DTB
 TARGET_DTB_NAME := g12a_s905y2_radxa0
 
+## Kernel modules
+TARGET_KERNEL_EXT_MODULES := \
+    dhd-driver/bcmdhd.101.10.361.x
+
 ## Partitions
 BOARD_SUPER_PARTITION_SIZE := 2084569088
 
index a1c2ebe457d148d59756112c794196fc2ad35456..e03a610fd8b0a841d6878401e264b26140829286 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -17,10 +17,6 @@ PRODUCT_HOST_PACKAGES += \
 PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc
 
-## Kernel Modules
-PRODUCT_PACKAGES += \
-    dhd
-
 ## TEE
 TARGET_HAS_TEE := false
 
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"
   }
 ]