kconfig: add 'filename' and 'lineno' built-in variables
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 May 2018 09:21:54 +0000 (18:21 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 21:13:37 +0000 (22:13 +0100)
commit6598140e430d622be926aed43ec19fec8326cd11
treeff76285c5828dd1792eb496cf0caf8c43118a6b1
parent715ca322b4f23a2b15adb34d0d829ae34c04dede
kconfig: add 'filename' and 'lineno' built-in variables

The special variables, $(filename) and $(lineno), are expanded to a
file name and its line number being parsed, respectively.

Suggested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/preprocess.c