kconfig: support simply expanded variable
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 May 2018 09:21:50 +0000 (18:21 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 21:13:33 +0000 (22:13 +0100)
commitdd88a7e5b482637a26c67ffa1cdf7ebed204161d
treefbfd234ebb1faa70ec19d90b06fe1d3fda828a6d
parentb68427cdb960942fede090e843b046749a0789f3
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/lkc_proto.h
config/preprocess.c
config/zconf.l
config/zconf.y