[oe-commits] [openembedded-core] 07/08: python3: add PACKAGECONFIG for bluetooth

git at git.openembedded.org git at git.openembedded.org
Wed Sep 12 23:28:36 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit fd5b497cc8a2f9f93f732070123b073bfb6d2eca
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Sep 11 16:41:48 2018 +0100

    python3: add PACKAGECONFIG for bluetooth
    
    Instead of forcibly disabling Bluetooth (support for Bluetooth sockets in the
    socket module), add a PACKAGECONFIG.  The default remains disabled for
    consistency.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/python/python3.inc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python3.inc b/meta/recipes-devtools/python/python3.inc
index 3207f91..f565b3f 100644
--- a/meta/recipes-devtools/python/python3.inc
+++ b/meta/recipes-devtools/python/python3.inc
@@ -23,7 +23,7 @@ PYTHON_BINABI = "${PYTHON_MAJMIN}m"
 
 S = "${WORKDIR}/Python-${PV}"
 
-inherit autotools pkgconfig
+inherit autotools bluetooth pkgconfig
 
 EXTRA_OECONF = "\
   --with-threads \
@@ -32,9 +32,10 @@ EXTRA_OECONF = "\
   --with-signal-module \
   --enable-shared \
   --enable-ipv6=${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)} \
-  ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no \
 "
 
+PACKAGECONFIG[bluetooth] = ",ac_cv_header_bluetooth_bluetooth_h=no ac_cv_header_bluetooth_h=no,${BLUEZ}"
+
 do_install_append () {
 	sed -i -e 's:${HOSTTOOLS_DIR}/install:install:g' \
 		-e 's:${HOSTTOOLS_DIR}/mkdir:mkdir:g' \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list