From 044ba6614bb51f9e4b42e3c253298929f4ea58f4 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Sat, 16 Dec 2023 21:54:10 +0000 Subject: [PATCH] wade: Properly build WLAN kernel module Change-Id: I1b02fd710c43ef66025d5d395728785c0ce3ddbe --- BoardConfig.mk | 4 ++++ device.mk | 4 ---- lineage.dependencies | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 211d69e..85a9df3 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -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 diff --git a/device.mk b/device.mk index c2859bd..5810e7a 100644 --- 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 diff --git a/lineage.dependencies b/lineage.dependencies index a1a158b..ff93eb9 100644 --- a/lineage.dependencies +++ b/lineage.dependencies @@ -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" } ] -- 2.20.1