summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-02-09 20:02:29 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-02-10 18:09:53 +0100
commit6a8243be4b43c5152440d8cdc538743456c8e5fb (patch)
tree823fbf04581df93dc1647df49a8399fc2f157d83 /rules
parent03d89943378949beb126430cf7df50a1706da63b (diff)
downloadptxdist-6a8243be4b43c5152440d8cdc538743456c8e5fb.tar.gz
ptxdist-6a8243be4b43c5152440d8cdc538743456c8e5fb.tar.xz
bluez: hid2hci is only built & install with tools enabled
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/bluez.make3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/bluez.make b/rules/bluez.make
index a08eb7f02..1a80de5a4 100644
--- a/rules/bluez.make
+++ b/rules/bluez.make
@@ -138,9 +138,12 @@ endif
@$(call install_alternative, bluez, 0, 0, 0644, \
/usr/share/dbus-1/system.d/bluetooth.conf)
+
+ifdef PTXCONF_BLUEZ_TOOLS
@$(call install_alternative, bluez, 0, 0, 0644, \
/usr/lib/udev/rules.d/97-hid2hci.rules)
@$(call install_copy, bluez, 0, 0, 0644, -, /usr/lib/udev/hid2hci)
+endif
ifdef PTXCONF_BLUEZ_SYSTEMD_UNIT
@$(call install_alternative, bluez, 0, 0, 0644, \