]> git.baikalelectronics.ru Git - kernel.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)
commitabbbfe28946fc996a93b4717adb6783246e0ec28
treee08bdefac418225fec1a8ac0aff85d379df03c0e
parentcf9d1bbf15247f2e094b1bbd78dcb673fbbba105
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