diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-07-19 11:35:39 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-07-27 21:18:00 +0900 |
commit | 10269fd37fc60bda700dd2554ff382446d45771d (patch) | |
tree | 7a5c30708b17e9664575048e6d3d2c4b5f46d3dc /lib/mpi/mpi-sub-ui.c | |
parent | e3b746a384fc2f3b7b4a8c9aad5024130a975c43 (diff) |
kconfig: shorten the temporary directory name for cc-option
The cc-option macro creates the temporary directory, .tmp_$$$$.
Shell expands '$$' into its process ID. '$$$$' results in repeated PID.
In Makefile, '$$$$' is correct (see TMPOUT in scripts/Malefile.compiler)
because '$$' is an escape sequence of '$'. Make expands '$$$$' into '$$',
then shell expands it into the process ID.
This does not apply to Kconfig because Kconfig requires variable
references to be enclosed by curly braces, like ${variable}.
The '$' that is not followed by '{' loses its effect.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions