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:
parent
54ba526157
commit
b64908b88e
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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)} \
|
||||
"
|
||||
|
|
|
|||
Loading…
Reference in New Issue