mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
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:
committed by
Treehugger Robot
parent
8bffcfee7a
commit
c2dad37627
@@ -57,6 +57,7 @@ config CRYPTO_FIPS_VERSION
|
|||||||
config CRYPTO_FIPS140_MOD
|
config CRYPTO_FIPS140_MOD
|
||||||
tristate "Enable FIPS 140 cryptographic module"
|
tristate "Enable FIPS 140 cryptographic module"
|
||||||
depends on ARM64 && ARM64_MODULE_PLTS
|
depends on ARM64 && ARM64_MODULE_PLTS
|
||||||
|
depends on CC_IS_CLANG
|
||||||
depends on m
|
depends on m
|
||||||
select CRYPTO_FIPS140_MERGE_MOD_SECTIONS
|
select CRYPTO_FIPS140_MERGE_MOD_SECTIONS
|
||||||
help
|
help
|
||||||
|
|||||||
Reference in New Issue
Block a user