Kconfig: make all syslog variables depend on SYS_LOG

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-08-04 08:34:58 -04:00 committed by Kumar Gala
parent e57b7ec4ba
commit 09bcd8ee74
13 changed files with 14 additions and 5 deletions

View file

@ -31,6 +31,7 @@ config ARC_INIT
config SYS_LOG_ARC_INIT_LEVEL
int
prompt "Quark SE Sensor Subsystem log level"
depends on SYS_LOG
default 0
help
Sets log level for the boot initialization and boot process of the sensor

View file

@ -21,6 +21,7 @@ if ADC
config SYS_LOG_ADC_LEVEL
int
prompt "ADC drivers log level"
depends on SYS_LOG
default 0
range 0 4
help

View file

@ -24,6 +24,7 @@ if CLOCK_CONTROL
config SYS_LOG_CLOCK_CONTROL_LEVEL
int
prompt "Hardware clock controller drivers log level"
depends on SYS_LOG
default 0
help
Sets log level for clock controller drivers

View file

@ -89,6 +89,7 @@ config TELNET_CONSOLE_PRIO
config SYS_LOG_TELNET_CONSOLE_LEVEL
int "Telnet console log level"
default 0
depends on SYS_LOG
help
Sets log level for telnet console (for telnet console dev only)

View file

@ -25,6 +25,7 @@ config CRYPTO_INIT_PRIORITY
config SYS_LOG_CRYPTO_LEVEL
int "Crypto drivers log level"
default 0
depends on SYS_LOG
help
Sets log level for crypto drivers

View file

@ -18,7 +18,7 @@ if GPIO_PCAL9535A
config SYS_LOG_GPIO_PCAL9535A_LEVEL
int
prompt "PCAL9535A driver log level"
depends on GPIO_PCAL9535A
depends on GPIO_PCAL9535A && SYS_LOG
default 0
help
Sets log level for clock PCAL9535A driver

View file

@ -38,6 +38,7 @@ menu "IEEE 802.15.4 drivers options"
config SYS_LOG_IEEE802154_DRIVER_LEVEL
int
prompt "IEEE802154 driver log level"
depends on SYS_LOG
default 0
help
Sets log level for 802.15.4 drivers.

View file

@ -24,7 +24,7 @@ if PWM_K64_FTM
config SYS_LOG_PWM_K64_FTM_LEVEL
int
prompt "Sets log level for pwm_ftm driver"
depends on PWM_K64_FTM
depends on PWM_K64_FTM && SYS_LOG
default 0
help
Sets log level for pwm_ftm driver.

View file

@ -24,6 +24,7 @@ config USB_DW_IRQ_PRI
config SYS_LOG_USB_DRIVER_LEVEL
int
prompt "USB driver log level"
depends on SYS_LOG
default 0
help
Sets log level for USB driver

View file

@ -27,7 +27,7 @@ config NET_BUF_LOG
config SYS_LOG_NET_BUF_LEVEL
int
prompt "Network buffer Logging level"
depends on NET_BUF_LOG
depends on NET_BUF_LOG && SYS_LOG
default 1
range 0 4
help

View file

@ -21,6 +21,7 @@ config SYS_LOG_NET_LEVEL
int
prompt "Network Stack Logging level"
default 1
depends on SYS_LOG
range 0 4
help
Sets log level for the network stack.

View file

@ -20,6 +20,7 @@ config SYS_LOG_USB_LEVEL
int
prompt "Sets log level for the USB device stack"
default 0
depends on SYS_LOG
help
This option sets log level for the USB device stack.

View file

@ -25,7 +25,7 @@ config CDC_ACM_PORT_NAME
config SYS_LOG_USB_CDC_ACM_LEVEL
int
prompt "USB CDC ACM device class driver log level"
depends on USB_CDC_ACM
depends on USB_CDC_ACM && SYS_LOG
default 0
help
Sets log level for USB CDC ACM device class driver
@ -53,7 +53,7 @@ config USB_MASS_STORAGE
config SYS_LOG_USB_MASS_STORAGE_LEVEL
int
prompt "USB Mass Storage device class driver log level"
depends on USB_MASS_STORAGE
depends on USB_MASS_STORAGE && SYS_LOG
default 0
help
Sets log level for USB Mass Storage device class driver