sm8250-common: Import common bdroid_buildcfg

Now that BTM_DEF_LOCAL_NAME is gone (migrated to a sysprop)
we can commonize the header.

Change-Id: I67da0b9f877da358f71c7afdca448fc8cc58773e
This commit is contained in:
Bruno Martins
2022-09-19 11:31:58 +01:00
committed by LuK1337
parent 172439ee05
commit 4c81196793
2 changed files with 34 additions and 0 deletions

View File

@@ -57,6 +57,9 @@ BOARD_USES_ALSA_AUDIO := true
# Bootloader # Bootloader
TARGET_BOOTLOADER_BOARD_NAME := kona TARGET_BOOTLOADER_BOARD_NAME := kona
# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(COMMON_PATH)/bluetooth/include
# Properties # Properties
TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop
TARGET_PRODUCT_PROP += $(COMMON_PATH)/product.prop TARGET_PRODUCT_PROP += $(COMMON_PATH)/product.prop

View File

@@ -0,0 +1,31 @@
/*
* Copyright (c) 2013, The Linux Foundation. All rights reserved.
* Not a Contribution, Apache license notifications and license are retained
* for attribution purposes only.
*
* Copyright (C) 2012 The Android Open Source Project
* Copyright (C) 2018 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef _BDROID_BUILDCFG_H
#define _BDROID_BUILDCFG_H
// Disables read remote device feature
#define MAX_ACL_CONNECTIONS 16
#define MAX_L2CAP_CHANNELS 16
#define BLE_VND_INCLUDED TRUE
/* Increasing SEPs to 12 from 6 to support SHO/MCast i.e. two streams per codec */
#define AVDT_NUM_SEPS 12
#endif