meta-digi-dey: Add support for bluez5
https://jira.digi.com/browse/DEL-1941 Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
parent
170a434f21
commit
9dbc427651
|
|
@ -12,7 +12,7 @@ TARGET_VENDOR = "-dey"
|
||||||
LOCALCONF_VERSION = "1"
|
LOCALCONF_VERSION = "1"
|
||||||
|
|
||||||
# Override these in poky based distros
|
# Override these in poky based distros
|
||||||
POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland"
|
POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland bluez5"
|
||||||
POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-dey-core"
|
POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-dey-core"
|
||||||
POKY_DEFAULT_EXTRA_RRECOMMENDS = ""
|
POKY_DEFAULT_EXTRA_RRECOMMENDS = ""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ MACHINENAME="$(cat /proc/device-tree/digi,machine,name 2>/dev/null || cat /sys/k
|
||||||
[ "${MACHINENAME}" = "ccardimx28" -o "${MACHINENAME}" = "ccimx6sbc" ] && bt_init
|
[ "${MACHINENAME}" = "ccardimx28" -o "${MACHINENAME}" = "ccimx6sbc" ] && bt_init
|
||||||
|
|
||||||
# Run bluetooth daemon
|
# Run bluetooth daemon
|
||||||
if hciconfig hci0 up && bluetoothd; then
|
if hciconfig hci0 up && /usr/lib/bluez5/bluetooth/bluetoothd; then
|
||||||
: # No-op
|
: # No-op
|
||||||
else
|
else
|
||||||
echo "${SCRIPTNAME}: FAILED"
|
echo "${SCRIPTNAME}: FAILED"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,9 @@ SECTION = "network"
|
||||||
LICENSE = "ISC"
|
LICENSE = "ISC"
|
||||||
LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=14;md5=8f6614b37751445a5f6a9bdc69be26b3"
|
LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=14;md5=8f6614b37751445a5f6a9bdc69be26b3"
|
||||||
|
|
||||||
DEPENDS = "bluez4 dbus libnl"
|
inherit bluetooth
|
||||||
|
|
||||||
|
DEPENDS = "${BLUEZ} dbus libnl"
|
||||||
|
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
${DIGI_PKG_SRC}/${PN}-${PV}.tar.bz2 \
|
${DIGI_PKG_SRC}/${PN}-${PV}.tar.bz2 \
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,13 @@ LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
|
inherit bluetooth
|
||||||
inherit packagegroup
|
inherit packagegroup
|
||||||
|
|
||||||
RDEPENDS_${PN} = "\
|
|
||||||
|
RDEPENDS_${PN} = " \
|
||||||
btfilter \
|
btfilter \
|
||||||
bluez4 \
|
${BLUEZ} \
|
||||||
bluez4-testtools \
|
${BLUEZ}-testtools \
|
||||||
${@base_contains("MACHINE_FEATURES", "bluetooth", "libasound-module-bluez", "", d)} \
|
${@base_contains("MACHINE_FEATURES", "bluetooth", "libasound-module-bluez", "", d)} \
|
||||||
"
|
"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,9 @@ SECTION = "examples"
|
||||||
LICENSE = "GPL-2.0"
|
LICENSE = "GPL-2.0"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
|
|
||||||
DEPENDS = "bluez4"
|
inherit bluetooth
|
||||||
|
|
||||||
|
DEPENDS = "${BLUEZ}"
|
||||||
|
|
||||||
SRC_URI = "file://bt_test"
|
SRC_URI = "file://bt_test"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,9 @@ SECTION = "examples"
|
||||||
LICENSE = "GPL-2.0"
|
LICENSE = "GPL-2.0"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
|
|
||||||
DEPENDS = "bluez4"
|
inherit bluetooth
|
||||||
|
|
||||||
|
DEPENDS = "${BLUEZ}"
|
||||||
|
|
||||||
SRC_URI = "file://btconfig"
|
SRC_URI = "file://btconfig"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue