* [Buildroot] [PATCH] libpcap: handle bluetooth explicitly
@ 2014-08-04 1:38 Gustavo Zacarias
2014-08-04 7:44 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2014-08-04 1:38 UTC (permalink / raw)
To: buildroot
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 <gustavo@zacarias.com.ar>
---
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
--
1.8.5.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] libpcap: handle bluetooth explicitly
2014-08-04 1:38 [Buildroot] [PATCH] libpcap: handle bluetooth explicitly Gustavo Zacarias
@ 2014-08-04 7:44 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-08-04 7:44 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Sun, 3 Aug 2014 22:38:49 -0300, Gustavo Zacarias wrote:
> 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 <gustavo@zacarias.com.ar>
> ---
> package/libpcap/libpcap.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-04 7:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-04 1:38 [Buildroot] [PATCH] libpcap: handle bluetooth explicitly Gustavo Zacarias
2014-08-04 7:44 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox