meta-digi-dey: modify where gatttool is installed from in bluez5

Add BLUEZ5_NOINST_TOOLS to bluetooth packagegroup. Gatttool is
added to BLUEZ5_NOINST_TOOLS in bluez5.inc so it is not necessary
to add gatttooll to do_install_append function.

Signed-off-by: Urko Nalda <Urko.Nalda@digi.com>
This commit is contained in:
Urko Nalda 2015-11-30 13:21:01 +01:00
parent 54ba526157
commit b64908b88e
2 changed files with 2 additions and 3 deletions

View File

@ -8,10 +8,8 @@ inherit update-rc.d
PACKAGECONFIG_append = " experimental"
do_install_append() {
install -d ${D}${sbindir} ${D}${sysconfdir}/init.d/
install -d ${D}${sysconfdir}/init.d/
install -m 0755 ${WORKDIR}/bluez-init ${D}${sysconfdir}/init.d/bluez
# gatttool is useful for BLE work but not installed by default
install -m 0755 attrib/gatttool ${D}${sbindir}/gatttool
}
INITSCRIPT_NAME = "bluez"

View File

@ -13,4 +13,5 @@ RDEPENDS_${PN} = " \
${BLUEZ} \
${BLUEZ}-testtools \
${@base_contains("MACHINE_FEATURES", "bluetooth", "libasound-module-bluez", "", d)} \
${@base_contains("BLUEZ", "bluez5", "bluez5-noinst-tools", "", d)} \
"