wade: Set new BT and WiFi firmware include paths
authorBruno Martins <bgcngm@gmail.com>
Sun, 7 Jul 2024 17:03:11 +0000 (18:03 +0100)
committerBruno Martins <bgcngm@gmail.com>
Sun, 21 Jul 2024 13:46:43 +0000 (14:46 +0100)
Change-Id: I9d9d34e4636d294bb6e03d37e2eb78cacea4f5ad

device.mk

index f28ff79b0232e25fb1503d2aa826de5c0c0206c7..5ca28d1426cf4519e6747048f9221878e7c53347 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2021-2023 The LineageOS Project
+# Copyright (C) 2021-2024 The LineageOS Project
 #
 # SPDX-License-Identifier: Apache-2.0
 #
@@ -9,6 +9,9 @@ PRODUCT_PACKAGES += \
     WadeBluetoothOverlay \
     libbt-vendor
 
+## Bluetooth firmware
+include kernel/amlogic/kernel-modules/dhd-driver/firmware/bluetooth/bluetooth.mk
+
 ## GMS
 ifeq ($(WITH_GMS),true)
 GMS_MAKEFILE=gms_minimal.mk
@@ -18,8 +21,8 @@ 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
 
-## Wi-Fi Firmware
-include hardware/amlogic/kernel-modules/dhd-driver/firmware/firmware.mk
+## Wi-Fi firmware
+include kernel/amlogic/kernel-modules/dhd-driver/firmware/wifi/wifi.mk
 
 ## Inherit from the common tree product makefile
 $(call inherit-product, device/amlogic/g12-common/g12.mk)