[OE-core] [PATCH] python: explicitly disable bluetooth.h check

Martin Jansa martin.jansa at gmail.com
Sat Jan 4 17:20:20 UTC 2014


* 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>
---
 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} \
 "
-- 
1.8.4.3




More information about the Openembedded-core mailing list