mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
kbuild: dummy-tools: fix inverted tests for gcc
[ Upstream commit b3d9fc1436 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ede8be3ae0
commit
feaa91193a
@@ -89,3 +89,8 @@ if arg_contain -print-file-name=plugin "$@"; then
|
||||
echo $plugin_dir
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# inverted return value
|
||||
if arg_contain -D__SIZEOF_INT128__=0 "$@"; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user