From patchwork Mon Aug 4 01:38:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 376103 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id C87CF140087 for ; Mon, 4 Aug 2014 11:39:15 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0C27D85791; Mon, 4 Aug 2014 01:39:12 +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 FNOlZrfnswqe; Mon, 4 Aug 2014 01:39:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 55B3A89668; Mon, 4 Aug 2014 01:39:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id D371F1BF9D2 for ; Mon, 4 Aug 2014 01:39:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C9E0687D66 for ; Mon, 4 Aug 2014 01:39:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ek1pZCWsy6aA for ; Mon, 4 Aug 2014 01:39:02 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9F5738580F for ; Mon, 4 Aug 2014 01:39:02 +0000 (UTC) Received: from asgard (cpe-186-18-128-65.telecentro-reversos.com.ar [186.18.128.65] (may be forged)) (authenticated bits=0) by loknar.toptech.com.ar (8.14.9/8.14.9) with ESMTP id s741ctnp031128 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 4 Aug 2014 01:38:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1407116339; bh=pJcbg4gYDOyi5aX9vU2AKdIZkjN3MG3dIcO9BGC1YYc=; h=From:To:Cc:Subject:Date; b=CGq/2od6jEtKhNIWlW7CcuoUhmzcraqMpaWcD41jYVVRubq5vnNGbonDzodnbbCfa Z6nhy4ZKSoo5AedGkg94xBYrUyt6UftYwab2uVgNfJpCUm0uX11NNR1lFnsrOCwq1n MSaY4yqDw4X1j9PRawtezCP1EEXjbSRXXAEsDnTs= Received: by asgard (sSMTP sendmail emulation); Sun, 03 Aug 2014 22:38:49 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Sun, 3 Aug 2014 22:38:49 -0300 Message-Id: <1407116329-24924-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.5.5 X-Virus-Scanned: clamav-milter 0.98.1 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] libpcap: handle bluetooth explicitly X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net If bluez_utils is around then add it to dependencies so as to use it, but if it's not (for instance bluez5_utils is around) then disable it since the bluez5 API isn't compatible. Fixes: http://autobuild.buildroot.net/results/6ca/6caeb7f41ac5e14dbee49f87511af3351f6013f1/ Signed-off-by: Gustavo Zacarias --- package/libpcap/libpcap.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk index a8c056e..7cf731e 100644 --- a/package/libpcap/libpcap.mk +++ b/package/libpcap/libpcap.mk @@ -20,6 +20,13 @@ LIBPCAP_CFLAGS = $(TARGET_CFLAGS) LIBPCAP_CONF_OPT = --disable-yydebug --with-pcap=linux LIBPCAP_CONFIG_SCRIPTS = pcap-config +# On purpose, not compatible with bluez5 +ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y) +LIBPCAP_DEPENDENCIES += bluez_utils +else +LIBPCAP_CONF_OPT += --disable-bluetooth +endif + ifeq ($(BR2_PACKAGE_DBUS),y) LIBPCAP_CONF_OPT += --enable-dbus LIBPCAP_DEPENDENCIES += dbus