summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/obex
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-05-24 15:44:15 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2014-06-10 12:16:22 +0200
commit4079368a04216d6018634af672671e2ef3edec2a (patch)
tree284665010f0b09c56de7c24bec31f32b84a14e96 /meta-oe/recipes-connectivity/obex
parent374545b58ce380b52670e5a5fcad94c388136227 (diff)
downloadmeta-openembedded-4079368a04216d6018634af672671e2ef3edec2a.tar.gz
openobex: fix detection of IrDA during configure with B!=S
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/obex')
-rw-r--r--meta-oe/recipes-connectivity/obex/openobex-1.5/separate_builddir.patch16
-rw-r--r--meta-oe/recipes-connectivity/obex/openobex_1.5.bb3
2 files changed, 18 insertions, 1 deletions
diff --git a/meta-oe/recipes-connectivity/obex/openobex-1.5/separate_builddir.patch b/meta-oe/recipes-connectivity/obex/openobex-1.5/separate_builddir.patch
new file mode 100644
index 000000000..8abf8ae24
--- /dev/null
+++ b/meta-oe/recipes-connectivity/obex/openobex-1.5/separate_builddir.patch
@@ -0,0 +1,16 @@
1Fix detection of IrDA failing with B!=S
2
3Upstream-Status: Pending
4
5Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
6
7--- a/acinclude.m4 2014-05-24 14:05:41.757796816 +0100
8+++ b/acinclude.m4 2014-05-24 14:03:06.556795536 +0100
9@@ -54,6 +54,7 @@
10 ])
11
12 AC_DEFUN([AC_PATH_IRDA_LINUX], [
13+ CPPFLAGS="${CPPFLAGS} -I${srcdir}"
14 AC_CACHE_CHECK([for IrDA support], irda_found, [
15 AC_TRY_COMPILE([
16 #include <sys/socket.h>
diff --git a/meta-oe/recipes-connectivity/obex/openobex_1.5.bb b/meta-oe/recipes-connectivity/obex/openobex_1.5.bb
index 0d5cfef0c..bf30817c1 100644
--- a/meta-oe/recipes-connectivity/obex/openobex_1.5.bb
+++ b/meta-oe/recipes-connectivity/obex/openobex_1.5.bb
@@ -10,7 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
10 10
11SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/openobex-${PV}.tar.gz \ 11SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/openobex-${PV}.tar.gz \
12 file://disable-cable-test.patch \ 12 file://disable-cable-test.patch \
13 file://libusb_crosscompile_check.patch" 13 file://libusb_crosscompile_check.patch \
14 file://separate_builddir.patch"
14 15
15SRC_URI[md5sum] = "0d83dc86445a46a1b9750107ba7ab65c" 16SRC_URI[md5sum] = "0d83dc86445a46a1b9750107ba7ab65c"
16SRC_URI[sha256sum] = "e602047570799a47ecb028420bda8f2cef41310e5a99d084de10aa9422935e65" 17SRC_URI[sha256sum] = "e602047570799a47ecb028420bda8f2cef41310e5a99d084de10aa9422935e65"