Commit fd7e5de4 authored by Tal Zussman's avatar Tal Zussman Committed by Eric Biggers
Browse files

lib/crypto: ensure generated *.S files are removed on make clean



make clean does not check the kernel config when removing files. As
such, additions to clean-files under CONFIG_ARM or CONFIG_ARM64 are not
evaluated. For example, when building on arm64, this means that
lib/crypto/arm64/sha{256,512}-core.S are left over after make clean.

Set clean-files unconditionally to ensure that make clean removes these
files.

Fixes: e96cb950 ("lib/crypto: sha256: Consolidate into single module")
Fixes: 24c91b62 ("lib/crypto: arm/sha512: Migrate optimized SHA-512 code to library")
Fixes: 60e3f1e9 ("lib/crypto: arm64/sha512: Migrate optimized SHA-512 code to library")
Signed-off-by: default avatarTal Zussman <tz2294@columbia.edu>
Link: https://lore.kernel.org/r/20250814-crypto_clean-v2-1-659a2dc86302@columbia.edu


Signed-off-by: default avatarEric Biggers <ebiggers@kernel.org>
parent d73915fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment