mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
bluez5_utils: add ability to build sixaxis plugin
[Thomas: add missing udev dependency.] Signed-off-by: Eric Limpens <limpens@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
7b4c260ef3
commit
de33b1940d
@ -58,6 +58,15 @@ config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL
|
|||||||
help
|
help
|
||||||
Build BlueZ 5.x experimental plugins (SAP, NFC, ...).
|
Build BlueZ 5.x experimental plugins (SAP, NFC, ...).
|
||||||
|
|
||||||
|
config BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS
|
||||||
|
bool "build sixaxis plugin"
|
||||||
|
depends on BR2_PACKAGE_HAS_UDEV
|
||||||
|
help
|
||||||
|
Build BlueZ 5.x sixaxis plugin (support Sony Dualshock controller)
|
||||||
|
|
||||||
|
comment "sixaxis plugin needs udev /dev management"
|
||||||
|
depends on !BR2_PACKAGE_HAS_UDEV
|
||||||
|
|
||||||
config BR2_PACKAGE_BLUEZ5_UTILS_TEST
|
config BR2_PACKAGE_BLUEZ5_UTILS_TEST
|
||||||
bool "build tests"
|
bool "build tests"
|
||||||
help
|
help
|
||||||
|
@ -41,6 +41,13 @@ else
|
|||||||
BLUEZ5_UTILS_CONF_OPTS += --disable-experimental
|
BLUEZ5_UTILS_CONF_OPTS += --disable-experimental
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# enable sixaxis plugin
|
||||||
|
ifeq ($(BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS),y)
|
||||||
|
BLUEZ5_UTILS_CONF_OPTS += --enable-sixaxis
|
||||||
|
else
|
||||||
|
BLUEZ5_UTILS_CONF_OPTS += --disable-sixaxis
|
||||||
|
endif
|
||||||
|
|
||||||
# install gatttool (For some reason upstream choose not to do it by default)
|
# install gatttool (For some reason upstream choose not to do it by default)
|
||||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL),y)
|
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL),y)
|
||||||
define BLUEZ5_UTILS_INSTALL_GATTTOOL
|
define BLUEZ5_UTILS_INSTALL_GATTTOOL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user