zeus migration: bluetooth: remove bluetooth class support

Bluetooth class to support the bluez4/bluez5 distro features,
was removed due to bluez4 was removed from meta-oe some time ago.

This commit simplifies the requeriments adding directly the bluez5,
instead of the intermediate bluetooth class.

https://jira.digi.com/browse/DEL-7013

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2020-03-24 15:33:47 +01:00
parent 8b67e57803
commit ff08db0c2f
4 changed files with 10 additions and 14 deletions

View File

@ -1,16 +1,18 @@
#
# Copyright (C) 2012-2018 Digi International.
# Copyright (C) 2012-2020 Digi International.
#
SUMMARY = "Bluetooth packagegroup for DEY image"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup bluetooth
MACHINE_BLUETOOTH_EXTRA_INSTALL ?= "${@bb.utils.contains('BLUEZ', 'bluez5', 'bluez5-init', '', d)}"
inherit packagegroup
MACHINE_BLUETOOTH_EXTRA_INSTALL ?= "bluez5-init"
RDEPENDS_${PN} = " \
${BLUEZ} \
${@bb.utils.contains('BLUEZ', 'bluez5', 'bluez5-noinst-tools bluez5-obex', '', d)} \
bluez5 \
bluez5-noinst-tools \
bluez5-obex \
${MACHINE_BLUETOOTH_EXTRA_INSTALL} \
"

View File

@ -7,9 +7,7 @@ SECTION = "examples"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
inherit bluetooth
DEPENDS = "${BLUEZ}"
DEPENDS = "bluez5"
S = "${WORKDIR}/git/ble-gatt-server-example"

View File

@ -5,9 +5,7 @@ SECTION = "examples"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
inherit bluetooth
DEPENDS = "${BLUEZ}"
DEPENDS = "bluez5"
SRC_URI = "file://bt_test"

View File

@ -5,9 +5,7 @@ SECTION = "examples"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
inherit bluetooth
DEPENDS = "${BLUEZ}"
DEPENDS = "bluez5"
SRC_URI = "file://btconfig"