FP4: Build Audio / Bluetooth Stack
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 7800409..7904e69 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -4,6 +4,8 @@
 # SPDX-License-Identifier: Apache-2.0
 #
 
+BUILD_BROKEN_DUP_RULES := true
+
 BOARD_VENDOR := fairphone
 DEVICE_PATH := device/fairphone/FP4
 
@@ -31,9 +33,23 @@
 AB_OTA_PARTITIONS += \
     recovery
 
+# Audio
+AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT := true
+AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true
+AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true
+AUDIO_FEATURE_ENABLED_HDMI_SPK := true
+AUDIO_FEATURE_ENABLED_INSTANCE_ID := true
+AUDIO_FEATURE_ENABLED_SSR := true
+AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true
+USE_CUSTOM_AUDIO_POLICY := 1
+
 # Binder API version
 TARGET_USES_64_BIT_BINDER := true
 
+# Bluetooth
+BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth/include
+TARGET_USE_QTI_BT_STACK := true
+
 # Display
 TARGET_SCREEN_DENSITY := 440
 
@@ -67,6 +83,10 @@
 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 100663296
 TARGET_COPY_OUT_VENDOR := vendor
 
+# Platform
+BOARD_USES_QCOM_HARDWARE := true
+TARGET_BOARD_PLATFORM := lito
+
 # Recovery
 TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.default
 TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888