collectd: fix rrdtool suboption dependency
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 3 Sep 2012 20:44:10 +0000 (22:44 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 3 Sep 2012 20:44:10 +0000 (22:44 +0200)
Fixes warning: (BR2_PACKAGE_COLLECTD_RRDTOOL) selects BR2_PACKAGE_RRDTOOL
which has unmet direct dependencies (BR2_USE_WCHAR).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/collectd/Config.in

index 4fae6d507070f3ca9f2dde0761956c4b5612c3b1..fe520f8ce9a8236d64fc53c53ca9d285eb95ad37 100644 (file)
@@ -360,6 +360,7 @@ config BR2_PACKAGE_COLLECTD_NETWORK
 
 config BR2_PACKAGE_COLLECTD_RRDTOOL
        bool "rrdtool"
+       depends on BR2_USE_WCHAR # rrdtool
        select BR2_PACKAGE_FREETYPE
        select BR2_PACKAGE_LIBART
        select BR2_PACKAGE_LIBPNG
@@ -368,6 +369,9 @@ config BR2_PACKAGE_COLLECTD_RRDTOOL
        help
          Writes values to RRD-files.
 
+comment "rrdtool support requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
+
 config BR2_PACKAGE_COLLECTD_UNIXSOCK
        bool "unixsock"
        help