deadpool: 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 17:11:21 +0000 (18:11 +0100)
Change-Id: I1b02fd710c43ef66025d5d395728785c0ce3ddbe

BoardConfig.mk
device.mk
lineage.dependencies

index 1b4d90f35fd41b1e6eb0fbd286d1fc3cbcd7fd97..49f42c3d03878af5dfd0733ea33b44ab49a22a6d 100644 (file)
@@ -18,6 +18,10 @@ TARGET_BOOTLOADER_BOARD_NAME := deadpool
 ## DTB
 TARGET_DTB_NAME := g12a_s905y2_deadpool
 
+## Kernel modules
+TARGET_KERNEL_EXT_MODULES := \
+    dhd-driver/bcmdhd.101.10.361.x
+
 ## Partitions
 BOARD_SUPER_PARTITION_SIZE := 2084569088
 
index bbf412974cbb074fa43d96b002142c15fc75de2e..f11095dc799bc591f0059a11429b8c391270aebc 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -13,10 +13,6 @@ PRODUCT_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
-
 ## 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"
   }
 ]