netsnmp: ensure lm-sensors is available if enabled
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 18 Apr 2016 14:43:10 +0000 (16:43 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 18 Apr 2016 21:19:25 +0000 (23:19 +0200)
commitfdbbff08bc8a62a1c5bc5c14f7fce07a84858cf9
treeaf9e17c6afcfc6e5f7155dcd911c664d90aa1a54
parente25c603211806e5c43415dabd713c68ff11f22fe
netsnmp: ensure lm-sensors is available if enabled

The ucd-snmp/lmsensorsMib module uses lm-sensors, so ensure netsnmp is built
after lm-sensors if enabled.

As the list of mib modules to built is configured using a string option in
Kconfig, we cannot easily select lm-sensors from the netsnmp package - But
we can at least ensure it gets built before hand if enabled.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/netsnmp/netsnmp.mk