ANDROID: fix kernelci GCC builds of fips140.ko

GCC builds of fips140.ko all fail with these errors. This causes
allmodconfig builds to fail in kernelci.

aarch64-linux-gnu-objcopy: crypto/fips140.ko:
        can't dump section '.rela.rodata'
	- it does not exist: file format not recognized

Since the Android use-cases for fips140 are clang only, suppress
fips140.ko builds for GCC

Bug: 350087876
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I742d19bc5172d43a19acd48a248bc2a194f67ca2
This commit is contained in:
Todd Kjos 2024-06-28 21:41:16 +00:00 committed by Treehugger Robot
parent d4103f937a
commit eb1f7db04a

View File

@ -57,6 +57,7 @@ config CRYPTO_FIPS_VERSION
config CRYPTO_FIPS140_MOD
tristate "Enable FIPS 140 cryptographic module"
depends on ARM64
depends on CC_IS_CLANG
depends on m
select CRYPTO_FIPS140_MERGE_MOD_SECTIONS
help