]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: dummy-tools: pretend we understand __LONG_DOUBLE_128__
authorJiri Slaby <jslaby@suse.cz>
Wed, 10 Aug 2022 09:26:03 +0000 (11:26 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 20 Aug 2022 17:47:48 +0000 (02:47 +0900)
commit43e1ffd6e6bddcc7fe30d3cea542d4433856541c
tree2978bedc933e70f3af241738306be511db1d4586
parent8de5632384dfeedf447db0ce22ddb8499908e618
kbuild: dummy-tools: pretend we understand __LONG_DOUBLE_128__

There is a test in powerpc's Kconfig which checks __LONG_DOUBLE_128__
and sets CONFIG_PPC_LONG_DOUBLE_128 if it is understood by the compiler.

We currently don't handle it, so this results in PPC_LONG_DOUBLE_128 not
being in super-config generated by dummy-tools. So take this into
account in the gcc script and preprocess __LONG_DOUBLE_128__ as "1".

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