From a5162ec49564bdcf98787cd1a3b9b484cfe6d478 Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Mon, 13 Jul 2020 04:42:41 +0200 Subject: [PATCH] exynos9610: build libbt-vendor Change-Id: I40f69d4bcd3c1a77ea38022837045e988807dad0 --- BoardConfigCommon.mk | 4 ++++ common.mk | 7 +++++++ proprietary-files-vendor.txt | 4 ---- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 117b582..452bd3f 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -19,6 +19,8 @@ COMMON_PATH := device/motorola/exynos9610-common # Include path TARGET_SPECIFIC_HEADER_PATH := $(COMMON_PATH)/include +BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := hardware/samsung_slsi/libbt/include + # Platform TARGET_BOARD_PLATFORM := exynos5 TARGET_SOC := exynos9610 @@ -103,6 +105,8 @@ BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_slsi WIFI_HIDL_FEATURE_AWARE := true WIFI_HIDL_FEATURE_DUAL_INTERFACE := true +BOARD_HAVE_BLUETOOTH_SLSI := true + # Properties BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true diff --git a/common.mk b/common.mk index 582fd39..7dcf29b 100644 --- a/common.mk +++ b/common.mk @@ -68,6 +68,13 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ otapreopt_script +# Bluetooth +PRODUCT_COPY_FILES += \ + hardware/samsung_slsi/libbt/conf/bt_did.conf:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bt_did.conf + +PRODUCT_PACKAGES += \ + libbt-vendor + # Boot animation TARGET_BOOTANIMATION_PRELOAD := true TARGET_BOOTANIMATION_TEXTURE_CACHE := true diff --git a/proprietary-files-vendor.txt b/proprietary-files-vendor.txt index 0640092..2681536 100644 --- a/proprietary-files-vendor.txt +++ b/proprietary-files-vendor.txt @@ -101,10 +101,6 @@ vendor/lib64/soundfx/libswdap.so vendor/lib64/vendor.dolby.hardware.dms@1.0-impl.so vendor/lib64/vendor.dolby.hardware.dms@1.0.so -# bluetooth -vendor/etc/bluetooth/bt_did.conf -vendor/etc/bt_stack_level6.conf - # camera vendor/lib/libENF.so vendor/lib/libexynoscamera_hifi_plugin.so -- 2.20.1