From: Masahiro Yamada Date: Mon, 28 May 2018 09:21:53 +0000 (+0900) Subject: kconfig: add 'info', 'warning-if', and 'error-if' built-in functions X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=inline;h=715ca322b4f23a2b15adb34d0d829ae34c04dede;hp=715ca322b4f23a2b15adb34d0d829ae34c04dede;p=carl9170fw.git kconfig: add 'info', 'warning-if', and 'error-if' built-in functions Syntax: $(info,) $(warning-if,,) $(error-if,, 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 Reviewed-by: Kees Cook Signed-off-by: Christian Lamparter ---