aboutsummaryrefslogtreecommitdiff
path: root/package/collectd
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2016-12-21 22:59:20 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-12-23 22:42:09 +0100
commitb0631a385863217ab9b781183264400e553cb2bd (patch)
tree2c0828d994bab10f7903c5cfd4109fddf2702407 /package/collectd
parent1e8a15a01466aa5cb224c9ad213b32f024d82043 (diff)
downloadbuildroot-b0631a385863217ab9b781183264400e553cb2bd.tar.gz
buildroot-b0631a385863217ab9b781183264400e553cb2bd.tar.bz2
collectd: add gps plugin support
Add explicit support for the gps plugin that uses libgps from the gpsd package. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/collectd')
-rw-r--r--package/collectd/Config.in7
-rw-r--r--package/collectd/collectd.mk2
2 files changed, 9 insertions, 0 deletions
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 7cd6397e68..02c02b7f36 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -237,6 +237,13 @@ config BR2_PACKAGE_COLLECTD_FSCACHE
Collects information about the file-system based caching
infrastructure for network file-systems and other slow media.
+config BR2_PACKAGE_COLLECTD_GPS
+ bool "gps"
+ select BR2_PACKAGE_GPSD
+ help
+ Reports the number of sattelites seen by and precision
+ of a GPS receiver.
+
config BR2_PACKAGE_COLLECTD_HUGEPAGES
bool "hugepages"
help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index b105e903ba..520ce1c77c 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -57,6 +57,7 @@ COLLECTD_CONF_OPTS += \
$(if $(BR2_PACKAGE_COLLECTD_FHCOUNT),--enable-fhcount,--disable-fhcount) \
$(if $(BR2_PACKAGE_COLLECTD_FILECOUNT),--enable-filecount,--disable-filecount) \
$(if $(BR2_PACKAGE_COLLECTD_FSCACHE),--enable-fscache,--disable-fscache) \
+ $(if $(BR2_PACKAGE_COLLECTD_GPS),--enable-gps,--disable-gps) \
$(if $(BR2_PACKAGE_COLLECTD_GRAPHITE),--enable-write_graphite,--disable-write_graphite) \
$(if $(BR2_PACKAGE_COLLECTD_HASHED),--enable-match_hashed,--disable-match_hashed) \
$(if $(BR2_PACKAGE_COLLECTD_HUGEPAGES),--enable-hugepages,--disable-hugepages) \
@@ -131,6 +132,7 @@ COLLECTD_DEPENDENCIES = \
$(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),libcurl yajl) \
$(if $(BR2_PACKAGE_COLLECTD_CURL_XML),libcurl libxml2) \
$(if $(BR2_PACKAGE_COLLECTD_DNS),libpcap) \
+ $(if $(BR2_PACKAGE_COLLECTD_GPS),gpsd) \
$(if $(BR2_PACKAGE_COLLECTD_IPTABLES),iptables) \
$(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),yajl) \
$(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),libmemcached) \