From 139e9a0f9d26d781017ebfd5799fd0707ae25597 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Thu, 29 Feb 2024 22:35:14 +0000 Subject: [PATCH] ANDROID: remove LTO check from build.config.gki.aarch64.fips140 Don't check the "LTO" variable in build.config.gki.aarch64.fips140, since fips140.ko no longer depends on LTO. Also, Kleaf doesn't set the "LTO" variable anyway; it was specific to build.sh. Bug: 188620248 Change-Id: I213faa4c8c1a23898c08da121b0a5dc602b7218a Signed-off-by: Eric Biggers --- build.config.gki.aarch64.fips140 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/build.config.gki.aarch64.fips140 b/build.config.gki.aarch64.fips140 index ec493efc20cf..031695579fc8 100644 --- a/build.config.gki.aarch64.fips140 +++ b/build.config.gki.aarch64.fips140 @@ -10,11 +10,6 @@ MAKE_GOALS=" modules " -if [ "${LTO}" = "none" ]; then - echo "The FIPS140 module needs LTO to be enabled." - exit 1 -fi - MODULES_ORDER=android/gki_aarch64_fips140_modules KERNEL_DIR=common