diff options
author | Eric Limpens <limpens@gmail.com> | 2015-07-16 10:46:14 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-18 22:53:37 +0200 |
commit | de33b1940dc77ccb487ece73bf038bea415caf93 (patch) | |
tree | 26ccfc30737e7418c43c095abd76f4feee311ae1 | |
parent | 7b4c260ef3fb8798105e0e3549448fb4a1ea2f17 (diff) | |
download | buildroot-de33b1940dc77ccb487ece73bf038bea415caf93.tar.gz buildroot-de33b1940dc77ccb487ece73bf038bea415caf93.zip |
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>
-rw-r--r-- | package/bluez5_utils/Config.in | 9 | ||||
-rw-r--r-- | package/bluez5_utils/bluez5_utils.mk | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/package/bluez5_utils/Config.in b/package/bluez5_utils/Config.in index 472432b923..80c383030b 100644 --- a/package/bluez5_utils/Config.in +++ b/package/bluez5_utils/Config.in @@ -58,6 +58,15 @@ config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL help 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 bool "build tests" help diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk index a1adbe1432..4c50e535b4 100644 --- a/package/bluez5_utils/bluez5_utils.mk +++ b/package/bluez5_utils/bluez5_utils.mk @@ -41,6 +41,13 @@ else BLUEZ5_UTILS_CONF_OPTS += --disable-experimental 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) ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL),y) define BLUEZ5_UTILS_INSTALL_GATTTOOL |