From: Ross Burton Date: Tue, 11 Sep 2018 15:41:48 +0000 (+0100) Subject: python3: add PACKAGECONFIG for bluetooth X-Git-Tag: uninative-2.3~323 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=fd5b497cc8a2f9f93f732070123b073bfb6d2eca;p=openembedded-core.git 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 --- diff --git a/meta/recipes-devtools/python/python3.inc b/meta/recipes-devtools/python/python3.inc index 3207f91ab8..f565b3f171 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' \