diff options
Diffstat (limited to 'meta-eca/recipes-connectivity/bluez5/files/fix-udev-paths.patch')
-rw-r--r-- | meta-eca/recipes-connectivity/bluez5/files/fix-udev-paths.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-eca/recipes-connectivity/bluez5/files/fix-udev-paths.patch b/meta-eca/recipes-connectivity/bluez5/files/fix-udev-paths.patch new file mode 100644 index 0000000..37362f5 --- /dev/null +++ b/meta-eca/recipes-connectivity/bluez5/files/fix-udev-paths.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | Add udevdir/udevrulesdir options | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | Signed-off-by: Constantin Musca <constantinx.musca@intel.com> | ||
5 | Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> | ||
6 | |||
7 | Index: bluez-5.0/Makefile.am | ||
8 | =================================================================== | ||
9 | --- bluez-5.0.orig/Makefile.am 2012-12-24 19:46:54.000000000 +0200 | ||
10 | +++ bluez-5.0/Makefile.am 2013-01-30 14:33:15.760615474 +0200 | ||
11 | @@ -175,7 +175,7 @@ | ||
12 | include Makefile.obexd | ||
13 | |||
14 | if HID2HCI | ||
15 | -rulesdir = @UDEV_DIR@/rules.d | ||
16 | +rulesdir = @UDEV_RULES_DIR@ | ||
17 | |||
18 | rules_DATA = tools/97-hid2hci.rules | ||
19 | |||
20 | Index: bluez-5.0/configure.ac | ||
21 | =================================================================== | ||
22 | --- bluez-5.0.orig/configure.ac 2012-12-24 19:46:54.000000000 +0200 | ||
23 | +++ bluez-5.0/configure.ac 2013-01-30 14:34:59.068613895 +0200 | ||
24 | @@ -160,6 +160,11 @@ | ||
25 | AC_SUBST(UDEV_DIR, [${path_udevdir}]) | ||
26 | fi | ||
27 | |||
28 | +AC_ARG_WITH([udevrulesdir], | ||
29 | + AS_HELP_STRING([--with-udevrulesdir=DIR], [udev rules directory]), | ||
30 | + [], [with_udevrulesdir=/lib/udev/rules.d]) | ||
31 | +AC_SUBST([UDEV_RULES_DIR], [$with_udevrulesdir]) | ||
32 | + | ||
33 | AM_CONDITIONAL(HID2HCI, test "${enable_tools}" != "no" && | ||
34 | test "${enable_udev}" != "no" && test "${enable_usb}" != "no") | ||
35 | |||