diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2021-08-16 17:21:04 -0700 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-09-03 08:17:20 +0900 |
commit | ff00f64bceb164267dccc3648eb299aeafd3a342 (patch) | |
tree | 366b6faa1019d6569bae31bf73f3d496a03ccee4 /scripts/clang-tools/gen_compile_commands.py | |
parent | ba3e87cfa2a0f2db889297b6fc8a9e91a35c2d21 (diff) | |
download | linux-ff00f64bceb164267dccc3648eb299aeafd3a342.tar.gz linux-ff00f64bceb164267dccc3648eb299aeafd3a342.tar.bz2 linux-ff00f64bceb164267dccc3648eb299aeafd3a342.zip |
s390: 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 <ndesaulniers@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions