package/watchdogd: add menuconfig support for new system monitors
Signed-off-by: Joachim Wiberg <troglobit@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
7371cb294d
commit
3aecae1802
@ -51,4 +51,14 @@ config BR2_PACKAGE_WATCHDOGD_MEMINFO
|
||||
help
|
||||
Enable memory leak monitor.
|
||||
|
||||
config BR2_PACKAGE_WATCHDOGD_FSMON
|
||||
bool "File system monitor"
|
||||
help
|
||||
Enable file system monitor.
|
||||
|
||||
config BR2_PACKAGE_WATCHDOGD_TEMPMON
|
||||
bool "Temperature monitor"
|
||||
help
|
||||
Enable temperature monitor.
|
||||
|
||||
endif
|
||||
|
@ -16,9 +16,7 @@ WATCHDOGD_SELINUX_MODULES = watchdog
|
||||
WATCHDOGD_CONF_OPTS = \
|
||||
--disable-compat \
|
||||
--disable-examples \
|
||||
--disable-test-mode \
|
||||
--without-fsmon \
|
||||
--without-tempmon
|
||||
--disable-test-mode
|
||||
|
||||
ifneq ($(BR2_PACKAGE_WATCHDOGD_TEST_SUITE),y)
|
||||
WATCHDOGD_CONF_OPTS += --disable-builtin-tests
|
||||
@ -49,6 +47,17 @@ WATCHDOGD_CONF_OPTS += --without-meminfo
|
||||
else
|
||||
WATCHDOGD_CONF_OPTS += --with-meminfo
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_WATCHDOGD_FSMON),y)
|
||||
WATCHDOGD_CONF_OPTS += --without-fsmon
|
||||
else
|
||||
WATCHDOGD_CONF_OPTS += --with-fsmon
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_WATCHDOGD_TEMPMON),y)
|
||||
WATCHDOGD_CONF_OPTS += --without-tempmon
|
||||
else
|
||||
WATCHDOGD_CONF_OPTS += --with-tempmon
|
||||
endif
|
||||
|
||||
define WATCHDOGD_INSTALL_INIT_SYSV
|
||||
|
Loading…
Reference in New Issue
Block a user