diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-06-27 15:07:50 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-04 08:29:52 +0200 |
commit | 0bb7b84698e380b86896a3163371648e88f2af21 (patch) | |
tree | 9043dc080ea00b45da50d59db2acc3d0fd5e5e91 /spec/build/bsps/arm/lpc32xx/bsplpc32xxmzx.yml | |
parent | build: Fix identifier pattern (diff) | |
download | rtems-0bb7b84698e380b86896a3163371648e88f2af21.tar.bz2 |
build: Improve value substitution
The waf build system uses lists for tool flags. The build items may use
variable substitution. Add the ability to use the variable substitution in
lists. For example:
MORE_FLAGS = ['-more', '-flags']
flags:
- -some-flag
- ${MORE_FLAGS}
Before this change, the ${MORE_FLAGS} was substituted to "-more -flags". This
would be passed by waf as a single command line argument to the tool.
After this change, the ${MORE_FLAGS} list extends the flags list:
flags = ['-some-flag', '-more', '-flags']
This list extension is performed if a list element consists of exactly one
variable.
Update #4670.
Diffstat (limited to 'spec/build/bsps/arm/lpc32xx/bsplpc32xxmzx.yml')
0 files changed, 0 insertions, 0 deletions