diff options
| author | Tom Rini <[email protected]> | 2022-06-08 08:24:40 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-06-28 17:03:31 -0400 |
| commit | 13ce351b9a292a758415ef8eba3c349c28cf4697 (patch) | |
| tree | e74c5573000a664edef03c57a7674d51b0538e9e /common | |
| parent | 8bea4bf7d31d2ab8a4a0162755b79a4a59a90dcd (diff) | |
vpl: Ensure all VPL symbols in Kconfig have some VPL dependency
Tighten up symbol dependencies in a number of places. Ensure that a VPL
specific option has at least a direct dependency on VPL. In places
where it's clear that we depend on something more specific, use that
dependency instead.
Reported-by: Pali Rohár <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'common')
| -rw-r--r-- | common/Kconfig | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/common/Kconfig b/common/Kconfig index e3a57e20820..f08a8e7493d 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -92,6 +92,7 @@ config TPL_LOGLEVEL config VPL_LOGLEVEL int "loglevel for VPL" + depends on VPL default LOGLEVEL help All Messages with a loglevel smaller than the console loglevel will @@ -272,15 +273,6 @@ config LOG if LOG -config VPL_LOG - bool "Enable logging support in VPL" - depends on LOG - help - This enables support for logging of status and debug messages. These - can be displayed on the console, recorded in a memory buffer, or - discarded if not needed. Logging supports various categories and - levels of severity. - config LOG_MAX_LEVEL int "Maximum log level to record" default 6 @@ -452,7 +444,7 @@ endif config VPL_LOG bool "Enable logging support in VPL" - depends on LOG + depends on LOG && VPL help This enables support for logging of status and debug messages. These can be displayed on the console, recorded in a memory buffer, or |
