summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-17 13:50:26 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-17 16:18:19 +0100
commitb8b275c263493e114baefcef94c68743d89329b7 (patch)
treeebf503678d9a9517f65c2d10287f5c9d80c13952
parente177bad3c5f2d37fe7a0092c22cc3dfc556f3dea (diff)
downloadopenembedded-core-b8b275c263493e114baefcef94c68743d89329b7.tar.gz
openembedded-core-b8b275c263493e114baefcef94c68743d89329b7.tar.bz2
openembedded-core-b8b275c263493e114baefcef94c68743d89329b7.zip
bluez4: Set udev variables using pkg-config
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/bluez/bluez4.inc4
-rw-r--r--meta/recipes-connectivity/bluez/bluez4_4.101.bb2
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/bluez/bluez4.inc b/meta/recipes-connectivity/bluez/bluez4.inc
index 42d82b0c1f..b540622cb1 100644
--- a/meta/recipes-connectivity/bluez/bluez4.inc
+++ b/meta/recipes-connectivity/bluez/bluez4.inc
@@ -39,7 +39,7 @@ EXTRA_OECONF = "\
--disable-cups \
--enable-test \
--enable-datafiles \
- --with-udevdir=${base_libdir}/udev \
- --with-udevrulesdir=${nonarch_base_libdir}/udev/rules.d \
+ --with-udevdir=`pkg-config --variable=udevdir udev` \
+ --with-udevrulesdir=`pkg-config --variable=udevdir udev`/rules.d \
"
diff --git a/meta/recipes-connectivity/bluez/bluez4_4.101.bb b/meta/recipes-connectivity/bluez/bluez4_4.101.bb
index 3ea2f2548c..f48adfd0a2 100644
--- a/meta/recipes-connectivity/bluez/bluez4_4.101.bb
+++ b/meta/recipes-connectivity/bluez/bluez4_4.101.bb
@@ -34,5 +34,5 @@ FILES_${PN}-dev += "\
FILES_${PN}-dbg += "\
${libdir}/bluetooth/plugins/.debug \
${libdir}/*/.debug \
- ${base_libdir}/udev/.debug \
+ */udev/.debug \
"