]> asedeno.scripts.mit.edu Git - linux.git/commit
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)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 May 2018 18:31:19 +0000 (03:31 +0900)
commita702a6176e2fea9ae366a7345247eb886e4cc730
treee08bdefac418225fec1a8ac0aff85d379df03c0e
parent1d6272e6fe43bc45c7ee58170d91d7242a71296b
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>
scripts/kconfig/preprocess.c