package/gensio: add openipmi support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-07-27 08:46:01 +02:00 committed by Thomas Petazzoni
parent 1fe93a688a
commit 35a06eb6ff

View file

@ -11,10 +11,16 @@ GENSIO_LICENSE_FILES = COPYING.LIB COPYING
GENSIO_INSTALL_STAGING = YES
GENSIO_DEPENDENCIES = $(if $(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),avahi)
GENSIO_CONF_OPTS = \
--without-openipmi \
--without-swig \
--without-python
ifeq ($(BR2_PACKAGE_OPENIPMI),y)
GENSIO_DEPENDENCIES += openipmi
GENSIO_CONF_OPTS += --with-openipmi
else
GENSIO_CONF_OPTS += --without-openipmi
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
GENSIO_DEPENDENCIES += host-pkgconf openssl
GENSIO_CONF_OPTS += --with-openssl