diff --git a/package/gensio/gensio.mk b/package/gensio/gensio.mk index 266ac137a2..b27158c61f 100644 --- a/package/gensio/gensio.mk +++ b/package/gensio/gensio.mk @@ -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