[oe-commits] Paul Eggleton : openobex: fix detection of IrDA during configure with B!=S
git at git.openembedded.org
git at git.openembedded.org
Wed Jun 4 09:43:36 UTC 2014
Module: meta-openembedded.git
Branch: master-next
Commit: 97b3cf6111e05ffe6412ceaca6b2ba6a9a3c605a
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=97b3cf6111e05ffe6412ceaca6b2ba6a9a3c605a
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Sat May 24 15:44:15 2014 +0100
openobex: fix detection of IrDA during configure with B!=S
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../obex/openobex-1.5/separate_builddir.patch | 16 ++++++++++++++++
meta-oe/recipes-connectivity/obex/openobex_1.5.bb | 3 ++-
2 files changed, 18 insertions(+), 1 deletion(-)
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 0000000..8abf8ae
--- /dev/null
+++ b/meta-oe/recipes-connectivity/obex/openobex-1.5/separate_builddir.patch
@@ -0,0 +1,16 @@
+Fix detection of IrDA failing with B!=S
+
+Upstream-Status: Pending
+
+Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
+
+--- a/acinclude.m4 2014-05-24 14:05:41.757796816 +0100
++++ b/acinclude.m4 2014-05-24 14:03:06.556795536 +0100
+@@ -54,6 +54,7 @@
+ ])
+
+ AC_DEFUN([AC_PATH_IRDA_LINUX], [
++ CPPFLAGS="${CPPFLAGS} -I${srcdir}"
+ AC_CACHE_CHECK([for IrDA support], irda_found, [
+ AC_TRY_COMPILE([
+ #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 0d5cfef..bf30817 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 \
SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/openobex-${PV}.tar.gz \
file://disable-cable-test.patch \
- file://libusb_crosscompile_check.patch"
+ file://libusb_crosscompile_check.patch \
+ file://separate_builddir.patch"
SRC_URI[md5sum] = "0d83dc86445a46a1b9750107ba7ab65c"
SRC_URI[sha256sum] = "e602047570799a47ecb028420bda8f2cef41310e5a99d084de10aa9422935e65"
More information about the Openembedded-commits
mailing list