diff options
| author | Nick Desaulniers <[email protected]> | 2021-08-17 00:21:06 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2021-09-02 23:17:20 +0000 |
| commit | 43e6b58f793c47b0a6772a112e6586cd1e24b239 (patch) | |
| tree | 686ae6a1896d3f7435c7e577a44b7e1c05211e7a /scripts/clang-tools/gen_compile_commands.py | |
| parent | s390: replace cc-option-yn uses with cc-option (diff) | |
| download | kernel-43e6b58f793c47b0a6772a112e6586cd1e24b239.tar.gz kernel-43e6b58f793c47b0a6772a112e6586cd1e24b239.zip | |
arc: replace cc-option-yn uses with cc-option
cc-option-yn can be replaced with cc-option. ie.
Checking for support:
ifeq ($(call cc-option-yn,$(FLAG)),y)
becomes:
ifneq ($(call cc-option,$(FLAG)),)
Checking for lack of support:
ifeq ($(call cc-option-yn,$(FLAG)),n)
becomes:
ifeq ($(call cc-option,$(FLAG)),)
This allows us to pursue removing cc-option-yn.
Signed-off-by: Nick Desaulniers <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
