]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit1175c02506ffc9cef9f3c520249d8740a3174b1f
tree4d95574d080570461e3483ec3b916b867463c6f3
parent9ced3bddec080e974e910bf887715540a8d9d96b
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