sabrina_fw: Fix check
authorNolen Johnson <johnsonnolen@gmail.com>
Mon, 17 Jun 2024 02:15:48 +0000 (22:15 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Mon, 17 Jun 2024 02:15:48 +0000 (22:15 -0400)
Change-Id: Iee2063f15d32f47ca5bad448bae035cec8f3b30b

firmware/bluetooth/bluetooth.mk

index fd3b8f17db4583ab5548ca39a0b76ef0c8099862..ee32936a2eb09ba39944241e4005e40a5dd008c9 100644 (file)
@@ -45,7 +45,7 @@ PRODUCT_COPY_FILES += \
     $(BLUETOOTH_FIRMWARE_PATH)/bcm4356a2/BCM4354.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM4354.hcd
 
 # bcm4359c0
-ifeq ($(TARGET_DEVICE), sabrina)
+ifneq ($(filter %sabrina,$(TARGET_PRODUCT)),)
 PRODUCT_COPY_FILES += \
     $(BLUETOOTH_FIRMWARE_PATH)/bcm4359c0/sabrina/BCM4359C0.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM4359C0.hcd
 else