You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.5 KiB
42 lines
1.5 KiB
# RELEASE NAME: 20180702_BT_ANDROID_9.0
|
|
# RTKBT_API_VERSION=2.1.1.0
|
|
|
|
CUR_PATH := hardware/realtek/rtkbt
|
|
|
|
BOARD_HAVE_BLUETOOTH := true
|
|
BOARD_HAVE_BLUETOOTH_RTK := true
|
|
BOARD_HAVE_BLUETOOTH_RTK_COEX := true
|
|
|
|
ifneq ($(filter atv box, $(strip $(TARGET_BOARD_PLATFORM_PRODUCT))), )
|
|
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(CUR_PATH)/bluetooth
|
|
endif
|
|
ifneq ($(filter rk3328, $(strip $(TARGET_BOARD_PLATFORM))), )
|
|
PRODUCT_COPY_FILES += \
|
|
$(CUR_PATH)/vendor/etc/bluetooth/rtkbt_S0.conf:vendor/etc/bluetooth/rtkbt.conf
|
|
else
|
|
PRODUCT_COPY_FILES += \
|
|
$(CUR_PATH)/vendor/etc/bluetooth/rtkbt.conf:vendor/etc/bluetooth/rtkbt.conf
|
|
endif
|
|
|
|
ifeq ($(strip $(TARGET_BOARD_PLATFORM_PRODUCT)), tablet)
|
|
BT_FIRMWARE_FILES := $(shell ls $(CUR_PATH)/vendor/firmware)
|
|
PRODUCT_COPY_FILES += \
|
|
$(foreach file, $(BT_FIRMWARE_FILES), $(CUR_PATH)/vendor/firmware/$(file):$(TARGET_COPY_OUT_VENDOR)/etc/firmware/$(file))
|
|
else
|
|
BT_FIRMWARE_FILES := $(shell ls $(CUR_PATH)/vendor/firmware_box)
|
|
PRODUCT_COPY_FILES += \
|
|
$(foreach file, $(BT_FIRMWARE_FILES), $(CUR_PATH)/vendor/firmware_box/$(file):$(TARGET_COPY_OUT_VENDOR)/etc/firmware/$(file))
|
|
endif
|
|
|
|
PRODUCT_PACKAGES += \
|
|
libbt-vendor-realtek
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
persist.bluetooth.btsnooplogmode=disable \
|
|
persist.bluetooth.btsnooppath=/data/misc/bluetooth/logs/btsnoop_hci.log \
|
|
persist.bluetooth.btsnoopsize=0xffff \
|
|
persist.bluetooth.showdeviceswithoutnames=false \
|
|
vendor.bluetooth.enable_timeout_ms=11000 \
|
|
vendor.realtek.bluetooth.en=false
|
|
|