]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: dummy-tools: fix inverted tests for gcc
authorJiri Slaby <jslaby@suse.cz>
Wed, 3 Mar 2021 10:43:14 +0000 (11:43 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 9 Mar 2021 19:17:47 +0000 (04:17 +0900)
commit55d5dcc449cd637ed7bf3ee40f61ad379d2a9273
tree4840481a00bbcc6c939387ac2852dc2b7577cdcc
parent51b35fb467a03bbbd9df4b02f9a9c7dcc0dc8685
kbuild: dummy-tools: fix inverted tests for gcc

There is a test in Kconfig which takes inverted value of a compiler
check:
* config CC_HAS_INT128
        def_bool !$(cc-option,$(m64-flag) -D__SIZEOF_INT128__=0)

This results in CC_HAS_INT128 not being in super-config generated by
dummy-tools. So take this into account in the gcc script.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/dummy-tools/gcc