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

device.mk

index 5810e7a79fac94569e9e021c815179ed2b989586..e1e29fd8402aab96afdcd1094f8e62040f3b7a34 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
@@ -30,8 +33,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)