diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-09-04 18:05:28 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-09-04 20:49:21 +0200 |
| commit | a092257a49ed7850913cf53e474f4c8dd175c94b (patch) | |
| tree | 1024946e748ce2801b03553e78eb9616b0d550da /setup.py | |
| parent | ef5358e8b8174716470b00691fba9946b7d307ce (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 'setup.py')
0 files changed, 0 insertions, 0 deletions
