* [Buildroot] [PATCH] libiio: fix libavahi-client dependency
@ 2017-12-27 12:06 Marcus Folkesson
2017-12-27 12:12 ` Baruch Siach
0 siblings, 1 reply; 3+ messages in thread
From: Marcus Folkesson @ 2017-12-27 12:06 UTC (permalink / raw)
To: buildroot
Avahi needs avahi-daemon and D-Bus to build avahi-client.
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
---
package/libiio/libiio.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/libiio/libiio.mk b/package/libiio/libiio.mk
index 0b13064085..0ff6c47dba 100644
--- a/package/libiio/libiio.mk
+++ b/package/libiio/libiio.mk
@@ -54,8 +54,8 @@ else
LIBIIO_CONF_OPTS += -DWITH_IIOD_USBD=OFF
endif
-# Avahi support in libiio requires avahi-client, which needs avahi-daemon
-ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON),yy)
+# Avahi support in libiio requires avahi-client, which needs avahi-daemon and dbus
+ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yyy)
LIBIIO_DEPENDENCIES += avahi
endif
--
2.15.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] libiio: fix libavahi-client dependency
2017-12-27 12:06 [Buildroot] [PATCH] libiio: fix libavahi-client dependency Marcus Folkesson
@ 2017-12-27 12:12 ` Baruch Siach
2017-12-27 12:22 ` Marcus Folkesson
0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2017-12-27 12:12 UTC (permalink / raw)
To: buildroot
Hi Marcus,
On Wed, Dec 27, 2017 at 01:06:03PM +0100, Marcus Folkesson wrote:
> Avahi needs avahi-daemon and D-Bus to build avahi-client.
>
> Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> ---
> package/libiio/libiio.mk | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/libiio/libiio.mk b/package/libiio/libiio.mk
> index 0b13064085..0ff6c47dba 100644
> --- a/package/libiio/libiio.mk
> +++ b/package/libiio/libiio.mk
> @@ -54,8 +54,8 @@ else
> LIBIIO_CONF_OPTS += -DWITH_IIOD_USBD=OFF
> endif
>
> -# Avahi support in libiio requires avahi-client, which needs avahi-daemon
> -ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON),yy)
> +# Avahi support in libiio requires avahi-client, which needs avahi-daemon and dbus
> +ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yyy)
When BR2_PACKAGE_AVAHI_DAEMON is enabled, BR2_PACKAGE_AVAHI must also be
enabled. So the is no need to check for BR2_PACKAGE_AVAHI.
> LIBIIO_DEPENDENCIES += avahi
> endif
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] libiio: fix libavahi-client dependency
2017-12-27 12:12 ` Baruch Siach
@ 2017-12-27 12:22 ` Marcus Folkesson
0 siblings, 0 replies; 3+ messages in thread
From: Marcus Folkesson @ 2017-12-27 12:22 UTC (permalink / raw)
To: buildroot
Hi Baruch,
On Wed, Dec 27, 2017 at 02:12:49PM +0200, Baruch Siach wrote:
> Hi Marcus,
>
> On Wed, Dec 27, 2017 at 01:06:03PM +0100, Marcus Folkesson wrote:
> > Avahi needs avahi-daemon and D-Bus to build avahi-client.
> >
> > Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> > ---
> > package/libiio/libiio.mk | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/package/libiio/libiio.mk b/package/libiio/libiio.mk
> > index 0b13064085..0ff6c47dba 100644
> > --- a/package/libiio/libiio.mk
> > +++ b/package/libiio/libiio.mk
> > @@ -54,8 +54,8 @@ else
> > LIBIIO_CONF_OPTS += -DWITH_IIOD_USBD=OFF
> > endif
> >
> > -# Avahi support in libiio requires avahi-client, which needs avahi-daemon
> > -ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON),yy)
> > +# Avahi support in libiio requires avahi-client, which needs avahi-daemon and dbus
> > +ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yyy)
>
> When BR2_PACKAGE_AVAHI_DAEMON is enabled, BR2_PACKAGE_AVAHI must also be
> enabled. So the is no need to check for BR2_PACKAGE_AVAHI.
>
You are so right.
> > LIBIIO_DEPENDENCIES += avahi
> > endif
>
> baruch
>
> --
> http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
> - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
Best regards
Marcus Folkesson
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-27 12:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-27 12:06 [Buildroot] [PATCH] libiio: fix libavahi-client dependency Marcus Folkesson
2017-12-27 12:12 ` Baruch Siach
2017-12-27 12:22 ` Marcus Folkesson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox