package/collectd: add lua optional dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
e87cb52b55
commit
871d769e9a
@ -18,7 +18,7 @@ COLLECTD_AUTORECONF = YES
|
|||||||
# These require unmet dependencies, are fringe, pointless or deprecated
|
# These require unmet dependencies, are fringe, pointless or deprecated
|
||||||
COLLECTD_PLUGINS_DISABLE = \
|
COLLECTD_PLUGINS_DISABLE = \
|
||||||
apple_sensors aquaero ascent barometer dbi dpdkstat email \
|
apple_sensors aquaero ascent barometer dbi dpdkstat email \
|
||||||
gmond hddtemp intel_rdt ipmi java lpar lua \
|
gmond hddtemp intel_rdt ipmi java lpar \
|
||||||
madwifi mbmon mic multimeter netapp notify_desktop numa \
|
madwifi mbmon mic multimeter netapp notify_desktop numa \
|
||||||
nut oracle perl pf pinba powerdns python routeros \
|
nut oracle perl pf pinba powerdns python routeros \
|
||||||
rrdcached sigrok tape target_v5upgrade teamspeak2 ted \
|
rrdcached sigrok tape target_v5upgrade teamspeak2 ted \
|
||||||
@ -213,6 +213,13 @@ else
|
|||||||
COLLECTD_CONF_OPTS += --with-libgcrypt=no
|
COLLECTD_CONF_OPTS += --with-libgcrypt=no
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LUA),y)
|
||||||
|
COLLECTD_DEPENDENCIES += lua
|
||||||
|
COLLECTD_CONF_OPTS += --enable-lua
|
||||||
|
else
|
||||||
|
COLLECTD_CONF_OPTS += --disable-lua
|
||||||
|
endif
|
||||||
|
|
||||||
define COLLECTD_INSTALL_TARGET_CMDS
|
define COLLECTD_INSTALL_TARGET_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
|
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
|
||||||
rm -f $(TARGET_DIR)/usr/bin/collectd-nagios
|
rm -f $(TARGET_DIR)/usr/bin/collectd-nagios
|
||||||
|
Loading…
Reference in New Issue
Block a user