mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/gensio: use mdns option
mdns option is available since version 2.4.0 and0b56fdd820Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit847ac3d9c8) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
159ffa9b1b
commit
ff274c142d
@@ -9,7 +9,6 @@ GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net
|
|||||||
GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
|
GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
|
||||||
GENSIO_LICENSE_FILES = COPYING.LIB COPYING
|
GENSIO_LICENSE_FILES = COPYING.LIB COPYING
|
||||||
GENSIO_INSTALL_STAGING = YES
|
GENSIO_INSTALL_STAGING = YES
|
||||||
GENSIO_DEPENDENCIES = $(if $(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),avahi)
|
|
||||||
GENSIO_CONF_OPTS = \
|
GENSIO_CONF_OPTS = \
|
||||||
--without-swig \
|
--without-swig \
|
||||||
--without-python
|
--without-python
|
||||||
@@ -21,6 +20,13 @@ else
|
|||||||
GENSIO_CONF_OPTS += --without-alsa
|
GENSIO_CONF_OPTS += --without-alsa
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y)
|
||||||
|
GENSIO_DEPENDENCIES += avahi
|
||||||
|
GENSIO_CONF_OPTS += --with-mdns
|
||||||
|
else
|
||||||
|
GENSIO_CONF_OPTS += --without-mdns
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
||||||
GENSIO_DEPENDENCIES += host-pkgconf libglib2
|
GENSIO_DEPENDENCIES += host-pkgconf libglib2
|
||||||
GENSIO_CONF_OPTS += --with-glib
|
GENSIO_CONF_OPTS += --with-glib
|
||||||
|
|||||||
Reference in New Issue
Block a user