summaryrefslogtreecommitdiff
path: root/tests/Krecursive2
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-09-04 18:05:28 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-09-04 20:49:21 +0200
commita092257a49ed7850913cf53e474f4c8dd175c94b (patch)
tree1024946e748ce2801b03553e78eb9616b0d550da /tests/Krecursive2
parentef5358e8b8174716470b00691fba9946b7d307ce (diff)
Allow macro expansion within symbol names
The C implementation supports this (though it's undocumented, and unused to far). This can be used e.g. to dynamically instatiate symbols from template files: Kconfig.template: config $(subsys)_LOG bool "Enable logging for $(subsys)" depends on $(subsys)_HAS_LOG ... other stuff dependent on $(subsys) Elsewhere: subsys = FOO source "Kconfig.template" subsys = BAR source "Kconfig.template" Pretty sure this can easily be abused, but it should be supported at least.
Diffstat (limited to 'tests/Krecursive2')
0 files changed, 0 insertions, 0 deletions