deadpool: 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, 7 Jul 2024 17:11:24 +0000 (18:11 +0100)
Change-Id: I9d9d34e4636d294bb6e03d37e2eb78cacea4f5ad

device.mk

index f11095dc799bc591f0059a11429b8c391270aebc..e86fcfd216341e13c51f7f23f3d536c87de8238b 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 += \
     DeadpoolBluetoothOverlay \
     libbt-vendor
 
+## Bluetooth firmware
+include kernel/amlogic/kernel-modules/dhd-driver/firmware/bluetooth/bluetooth.mk
+
 ## Init-Files
 PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc
@@ -17,8 +20,8 @@ PRODUCT_COPY_FILES += \
 PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/keylayout/Vendor_0001_Product_0001.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Vendor_0001_Product_0001.kl
 
-## 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)