From: Bruno Martins Date: Sat, 16 Dec 2023 21:54:10 +0000 (+0000) Subject: wade: Properly build WLAN kernel module X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3d320f3604890ae02fb43dbc4110df1f94b48dce;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_askey_wade.git wade: Properly build WLAN kernel module Change-Id: I1b02fd710c43ef66025d5d395728785c0ce3ddbe --- diff --git a/BoardConfig.mk b/BoardConfig.mk index e4b956d..a0e1793 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -19,6 +19,10 @@ TARGET_BOOTLOADER_BOARD_NAME := wade TARGET_DTB_NAME := g12a_s905x2_u212_sti6130d3x0 TARGET_DTBO_NAME := sti6140d350_overlay +## 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 a4134cb..f28ff79 100644 --- a/device.mk +++ b/device.mk @@ -18,10 +18,6 @@ endif 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 - ## Wi-Fi Firmware include hardware/amlogic/kernel-modules/dhd-driver/firmware/firmware.mk 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" } ]