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:
parent
83eb3a30c7
commit
a46a7af18d
|
|
@ -37,9 +37,6 @@ KERNEL_DEVICETREE ?= " \
|
||||||
|
|
||||||
SERIAL_CONSOLES ?= "115200;ttymxc3"
|
SERIAL_CONSOLES ?= "115200;ttymxc3"
|
||||||
|
|
||||||
# Bluetooth interface
|
|
||||||
BT_DEVICE_NAME ?= "cc6"
|
|
||||||
|
|
||||||
# Bluetooth tty
|
# Bluetooth tty
|
||||||
BT_TTY ?= "ttymxc1"
|
BT_TTY ?= "ttymxc1"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,6 @@ UBOOT_SUFFIX = "imx"
|
||||||
|
|
||||||
STORAGE_MEDIA = "mtd"
|
STORAGE_MEDIA = "mtd"
|
||||||
|
|
||||||
# Bluetooth interface
|
|
||||||
BT_DEVICE_NAME ?= "cc6ul"
|
|
||||||
|
|
||||||
# Wireless external module
|
# Wireless external module
|
||||||
WIRELESS_MODULE ?= ""
|
WIRELESS_MODULE ?= ""
|
||||||
WIRELESS_MODULE_append = " ${@oe.utils.conditional('HAVE_WIFI', '1', 'kernel-module-qualcomm', '', d)}"
|
WIRELESS_MODULE_append = " ${@oe.utils.conditional('HAVE_WIFI', '1', 'kernel-module-qualcomm', '', d)}"
|
||||||
|
|
|
||||||
|
|
@ -28,9 +28,6 @@ KERNEL_DEFCONFIG ?= "arch/arm64/configs/ccimx8_defconfig"
|
||||||
|
|
||||||
STORAGE_MEDIA = "mmc"
|
STORAGE_MEDIA = "mmc"
|
||||||
|
|
||||||
# Bluetooth interface
|
|
||||||
BT_DEVICE_NAME ?= "cc8mn"
|
|
||||||
|
|
||||||
# Wireless external module
|
# Wireless external module
|
||||||
WIRELESS_MODULE ?= ""
|
WIRELESS_MODULE ?= ""
|
||||||
WIRELESS_MODULE_append = " ${@oe.utils.conditional('HAVE_WIFI', '1', 'kernel-module-qualcomm', '', d)}"
|
WIRELESS_MODULE_append = " ${@oe.utils.conditional('HAVE_WIFI', '1', 'kernel-module-qualcomm', '', d)}"
|
||||||
|
|
|
||||||
|
|
@ -31,9 +31,6 @@ KERNEL_DEFCONFIG ?= "arch/arm64/configs/ccimx8_defconfig"
|
||||||
|
|
||||||
STORAGE_MEDIA = "mmc"
|
STORAGE_MEDIA = "mmc"
|
||||||
|
|
||||||
# Bluetooth interface
|
|
||||||
BT_DEVICE_NAME ?= "cc8x"
|
|
||||||
|
|
||||||
# Wireless external module
|
# Wireless external module
|
||||||
WIRELESS_MODULE ?= ""
|
WIRELESS_MODULE ?= ""
|
||||||
WIRELESS_MODULE_append = " ${@oe.utils.conditional('HAVE_WIFI', '1', 'kernel-module-qualcomm', '', d)}"
|
WIRELESS_MODULE_append = " ${@oe.utils.conditional('HAVE_WIFI', '1', 'kernel-module-qualcomm', '', d)}"
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@ P2P0_STATIC_IP ?= "192.168.45.30"
|
||||||
P2P0_STATIC_NETMASK ?= "255.255.255.0"
|
P2P0_STATIC_NETMASK ?= "255.255.255.0"
|
||||||
WLAN_P2P_INTERFACE ?= "p2p0"
|
WLAN_P2P_INTERFACE ?= "p2p0"
|
||||||
WLAN_P2P_DEVICE_NAME ??= "${DIGI_FAMILY}-p2p"
|
WLAN_P2P_DEVICE_NAME ??= "${DIGI_FAMILY}-p2p"
|
||||||
|
BT_DEVICE_NAME ??= "${DIGI_FAMILY}"
|
||||||
|
|
||||||
# Digi BSP default settings
|
# Digi BSP default settings
|
||||||
IMAGE_CLASSES = "image_types_digi"
|
IMAGE_CLASSES = "image_types_digi"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue