From patchwork Thu Sep 13 11:56:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Blach X-Patchwork-Id: 969320 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=blach.pl Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 429y7w4NHXz9sB4 for ; Thu, 13 Sep 2018 22:07:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B86CA88A53; Thu, 13 Sep 2018 12:07:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kZmBrqRtZY2d; Thu, 13 Sep 2018 12:07:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id D5530889D6; Thu, 13 Sep 2018 12:07:17 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6915F1C0ADA for ; Thu, 13 Sep 2018 12:07:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6670786FF1 for ; Thu, 13 Sep 2018 12:07:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VFx1PLJ35bdt for ; Thu, 13 Sep 2018 12:07:16 +0000 (UTC) X-Greylist: delayed 00:09:59 by SQLgrey-1.7.6 Received: from 1.mo2.mail-out.ovh.net (1.mo2.mail-out.ovh.net [46.105.63.121]) by fraxinus.osuosl.org (Postfix) with ESMTPS id EDE3A86CF9 for ; Thu, 13 Sep 2018 12:07:15 +0000 (UTC) Received: from player773.ha.ovh.net (unknown [10.109.143.189]) by mo2.mail-out.ovh.net (Postfix) with ESMTP id 2A4B415730B for ; Thu, 13 Sep 2018 13:57:13 +0200 (CEST) Received: from starpad.nine (adlh33.neoplus.adsl.tpnet.pl [79.185.11.33]) (Authenticated sender: grzegorz@blach.pl) by player773.ha.ovh.net (Postfix) with ESMTPSA id 6C0DA600094; Thu, 13 Sep 2018 13:57:08 +0200 (CEST) From: Grzegorz Blach To: buildroot@buildroot.org Date: Thu, 13 Sep 2018 13:56:56 +0200 Message-Id: <20180913115656.11794-2-grzegorz@blach.pl> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180913115656.11794-1-grzegorz@blach.pl> References: <20180913115656.11794-1-grzegorz@blach.pl> X-Ovh-Tracer-Id: 5807391721530023582 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtjedrjeeigdeghecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Subject: [Buildroot] [PATCH 2/2] python3: add optional dependency on bluez5_utils-headers X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Grzegorz Blach , Thomas Petazzoni MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" When python3 depends on bluez5_utils-headers, python3 is build with bluetooth support. Signed-off-by: Grzegorz Blach --- package/python3/python3.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/python3/python3.mk b/package/python3/python3.mk index 5e94e8e726..913e0773ca 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -255,6 +255,11 @@ endif # Provided to other packages PYTHON3_PATH = $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/ +# Support for socket.AF_BLUETOOTH +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),y) + PYTHON3_DEPENDENCIES += bluez5_utils-headers +endif + $(eval $(autotools-package)) $(eval $(host-autotools-package))