diff options
author | Masahiro Yamada <[email protected]> | 2018-05-28 18:21:53 +0900 |
---|---|---|
committer | Masahiro Yamada <[email protected]> | 2018-05-29 03:31:19 +0900 |
commit | 1d6272e6fe43bc45c7ee58170d91d7242a71296b (patch) | |
tree | c40376111aea35ff2a575ed24ad786d3c554fc10 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 82bc8bd82e5c4e6e53d4ba20bb89cec6a91d8702 (diff) |
kconfig: add 'info', 'warning-if', and 'error-if' built-in functions
Syntax:
$(info,<text>)
$(warning-if,<condition>,<text>)
$(error-if,<condition>,<text)
The 'info' function prints a message to stdout as in Make.
The 'warning-if' and 'error-if' are similar to 'warning' and 'error'
in Make, but take the condition parameter. They are effective only
when the <condition> part is y.
Kconfig does not implement the lazy expansion as used in the 'if'
'and, 'or' functions in Make. In other words, Kconfig does not
support conditional expansion. The unconditional 'error' function
would always terminate the parsing, hence would be useless in Kconfig.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions