]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: support simply expanded variable
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 May 2018 09:21:50 +0000 (18:21 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 May 2018 18:31:19 +0000 (03:31 +0900)
commit36c718e4100419d04c34bc21f2e704d3436c212f
tree4d95574d080570461e3483ec3b916b867463c6f3
parent614cc1e9aef557d85589139550cba30868259bf0
kconfig: support simply expanded variable

The previous commit added variable and user-defined function.  They
work similarly in the sense that the evaluation is deferred until
they are used.

This commit adds another type of variable, simply expanded variable,
as we see in Make.

The := operator defines a simply expanded variable, expanding the
righthand side immediately.  This works like traditional programming
language variables.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/lkc_proto.h
scripts/kconfig/preprocess.c
scripts/kconfig/zconf.l
scripts/kconfig/zconf.y