[oe-commits] Martin Jansa : python: explicitly disable bluetooth.h check

git at git.openembedded.org git at git.openembedded.org
Mon Jan 6 16:27:37 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 46fc4d6b7c17e19088917ec46234bafc76f5655f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=46fc4d6b7c17e19088917ec46234bafc76f5655f

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Sat Jan  4 18:20:20 2014 +0100

python: explicitly disable bluetooth.h check

* bluetooth.h is autodetected from sysroot and influences 2 python files:
  /usr/include/python2.7/pyconfig-32.h
  /usr/lib/python2.7/lib-dynload/_socket.so
* it doesn't link with bluez, so it wasn't detected by
  test-dependencies.sh, but still causes undeterministic builds and
  should be fixed
* we can use PACKAGECONFIG, but I don't expect many people to use bt
  support in python-socket

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/python/python.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index 4991b97..5a07665 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -26,5 +26,6 @@ EXTRA_OECONF = "\
   --with-signal-module \
   --enable-shared \
   --enable-ipv6=${@base_contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)} \
+  ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \
   ${PYTHONLSBOPTS} \
 "



More information about the Openembedded-commits mailing list