bluetooth: re-use variable DIGI_FAMILY to set BT_DEVICE_NAME for simplicity

The variable BT_DEVICE_NAME is used to name the Bluetooth device name on
the BlueZ configuration file. Re-use the contents of DIGI_FAMILY (except
for ccimx6qp which re-writes it) to simplify platform definitions.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2020-05-05 13:45:19 +02:00
parent 83eb3a30c7
commit a46a7af18d
5 changed files with 1 additions and 12 deletions

View File

@ -37,9 +37,6 @@ KERNEL_DEVICETREE ?= " \
SERIAL_CONSOLES ?= "115200;ttymxc3"
# Bluetooth interface
BT_DEVICE_NAME ?= "cc6"
# Bluetooth tty
BT_TTY ?= "ttymxc1"

View File

@ -14,9 +14,6 @@ UBOOT_SUFFIX = "imx"
STORAGE_MEDIA = "mtd"
# Bluetooth interface
BT_DEVICE_NAME ?= "cc6ul"
# Wireless external module
WIRELESS_MODULE ?= ""
WIRELESS_MODULE_append = " ${@oe.utils.conditional('HAVE_WIFI', '1', 'kernel-module-qualcomm', '', d)}"

View File

@ -28,9 +28,6 @@ KERNEL_DEFCONFIG ?= "arch/arm64/configs/ccimx8_defconfig"
STORAGE_MEDIA = "mmc"
# Bluetooth interface
BT_DEVICE_NAME ?= "cc8mn"
# Wireless external module
WIRELESS_MODULE ?= ""
WIRELESS_MODULE_append = " ${@oe.utils.conditional('HAVE_WIFI', '1', 'kernel-module-qualcomm', '', d)}"

View File

@ -31,9 +31,6 @@ KERNEL_DEFCONFIG ?= "arch/arm64/configs/ccimx8_defconfig"
STORAGE_MEDIA = "mmc"
# Bluetooth interface
BT_DEVICE_NAME ?= "cc8x"
# Wireless external module
WIRELESS_MODULE ?= ""
WIRELESS_MODULE_append = " ${@oe.utils.conditional('HAVE_WIFI', '1', 'kernel-module-qualcomm', '', d)}"

View File

@ -46,6 +46,7 @@ P2P0_STATIC_IP ?= "192.168.45.30"
P2P0_STATIC_NETMASK ?= "255.255.255.0"
WLAN_P2P_INTERFACE ?= "p2p0"
WLAN_P2P_DEVICE_NAME ??= "${DIGI_FAMILY}-p2p"
BT_DEVICE_NAME ??= "${DIGI_FAMILY}"
# Digi BSP default settings
IMAGE_CLASSES = "image_types_digi"