• Masahiro Yamada's avatar
    kconfig: add 'info', 'warning-if', and 'error-if' built-in functions · 1d6272e6
    Masahiro Yamada authored
    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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    Reviewed-by: default avatarKees Cook <keescook@chromium.org>
    1d6272e6
Name
Last commit
Last update
Documentation Loading commit data...
LICENSES Loading commit data...
arch Loading commit data...
block Loading commit data...
certs Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt Loading commit data...
.clang-format Loading commit data...
.cocciconfig Loading commit data...
.get_maintainer.ignore Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...