mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
bluez5_utils: define FIRMWARE_DIR for hciattach_bcm43xx
The tool hciattach_bcm43xx defines the default firmware path in `/etc/firmware`, but the Broadcom firmware blobs are usually stored in `/lib/firmware`. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c2aa34d8ce
commit
361d1b969e
@ -80,6 +80,10 @@ define BLUEZ5_UTILS_INSTALL_GATTTOOL
|
|||||||
$(INSTALL) -D -m 0755 $(@D)/attrib/gatttool $(TARGET_DIR)/usr/bin/gatttool
|
$(INSTALL) -D -m 0755 $(@D)/attrib/gatttool $(TARGET_DIR)/usr/bin/gatttool
|
||||||
endef
|
endef
|
||||||
BLUEZ5_UTILS_POST_INSTALL_TARGET_HOOKS += BLUEZ5_UTILS_INSTALL_GATTTOOL
|
BLUEZ5_UTILS_POST_INSTALL_TARGET_HOOKS += BLUEZ5_UTILS_INSTALL_GATTTOOL
|
||||||
|
# hciattach_bcm43xx defines default firmware path in `/etc/firmware`, but
|
||||||
|
# Broadcom firmware blobs are usually located in `/lib/firmware`.
|
||||||
|
BLUEZ5_UTILS_CONF_ENV += \
|
||||||
|
CPPFLAGS='$(TARGET_CPPFLAGS) -DFIRMWARE_DIR=\"/lib/firmware\"'
|
||||||
BLUEZ5_UTILS_CONF_OPTS += --enable-deprecated
|
BLUEZ5_UTILS_CONF_OPTS += --enable-deprecated
|
||||||
else
|
else
|
||||||
BLUEZ5_UTILS_CONF_OPTS += --disable-deprecated
|
BLUEZ5_UTILS_CONF_OPTS += --disable-deprecated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user