package/netdata: add freeipmi optional dependency

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:54:09 +02:00 committed by Thomas Petazzoni
parent 35a06eb6ff
commit 55106a056e

View File

@ -36,6 +36,13 @@ else
NETDATA_CONF_OPTS += --disable-plugin-cups
endif
ifeq ($(BR2_PACKAGE_FREEIPMI),y)
NETDATA_CONF_OPTS += --enable-plugin-freeipmi
NETDATA_DEPENDENCIES += freeipmi
else
NETDATA_CONF_OPTS += --disable-plugin-freeipmi
endif
ifeq ($(BR2_PACKAGE_JSON_C),y)
NETDATA_CONF_OPTS += --enable-jsonc
NETDATA_DEPENDENCIES += json-c