bluez5: Replace /lib with ${nonarch_base_libdir}

Use standard /lib variable name and avoid
QA errors when usermerge DISTRO_FEATURE is enabled.

Signed-off-by: Michael Gloff <mgloff@hotmail.com>
This commit is contained in:
Michael Gloff 2017-10-25 22:59:32 -05:00 committed by Andrei Gherzan
parent 1ab83ec30a
commit 6a7606a1e4

View File

@ -10,8 +10,8 @@ BCM_BT_SOURCES = " \
" "
enable_bcm_bluetooth() { enable_bcm_bluetooth() {
install -d ${D}/lib/firmware/brcm/ install -d ${D}${nonarch_base_libdir}/firmware/brcm/
install -m 0644 ${WORKDIR}/BCM43430A1.hcd ${D}/lib/firmware/brcm/BCM43430A1.hcd install -m 0644 ${WORKDIR}/BCM43430A1.hcd ${D}${nonarch_base_libdir}/firmware/brcm/BCM43430A1.hcd
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
install -d ${D}${systemd_unitdir}/system install -d ${D}${systemd_unitdir}/system
@ -20,7 +20,7 @@ enable_bcm_bluetooth() {
} }
BCM_BT_FIRMWARE = " \ BCM_BT_FIRMWARE = " \
/lib/firmware/brcm/BCM43430A1.hcd \ ${nonarch_base_libdir}/firmware/brcm/BCM43430A1.hcd \
" "
BCM_BT_SERVICE = " brcm43438.service" BCM_BT_SERVICE = " brcm43438.service"