package/gensio: add alsa-lib optional dependency

alsa-lib is an optional dependency which is enabled by default since
version 2.5.3 and
dc9bad87d4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2023-03-02 18:53:48 +01:00 committed by Peter Korsgaard
parent f255abdcea
commit a69ecf0e89

View File

@ -14,6 +14,13 @@ GENSIO_CONF_OPTS = \
--without-swig \
--without-python
ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM),y)
GENSIO_DEPENDENCIES += alsa-lib
GENSIO_CONF_OPTS += --with-alsa
else
GENSIO_CONF_OPTS += --without-alsa
endif
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
GENSIO_DEPENDENCIES += host-pkgconf libglib2
GENSIO_CONF_OPTS += --with-glib