kconfig: add built-in function support
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 May 2018 09:21:45 +0000 (18:21 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 21:13:28 +0000 (22:13 +0100)
commita6b2c7e5248c8300ebb3393d746ec20ca92cabc3
tree278c995b062fa70a2aa742ecd867fea99663b718
parent19b576e68d1eb396821dde6f5ff7fb9848d338cc
kconfig: add built-in function support

This commit adds a new concept 'function' to do more text processing
in Kconfig.

A function call looks like this:

  $(function,arg1,arg2,arg3,...)

This commit adds the basic infrastructure to expand functions.
Change the text expansion helpers to take arguments.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/preprocess.c