[PATCH] lib/crypto: powerpc: Add powerpc/aesp8-ppc.S to clean-files
Eric Biggers
ebiggers at kernel.org
Tue Mar 17 15:49:25 AEDT 2026
Make the generated file powerpc/aesp8-ppc.S be removed by 'make clean'.
Fixes: 7cf2082e74ce ("lib/crypto: powerpc/aes: Migrate POWER8 optimized code into library")
Signed-off-by: Eric Biggers <ebiggers at kernel.org>
---
lib/crypto/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile
index 725eef05b758..dc7a56f7287d 100644
--- a/lib/crypto/Makefile
+++ b/lib/crypto/Makefile
@@ -53,10 +53,13 @@ endif # CONFIG_PPC
libaes-$(CONFIG_RISCV) += riscv/aes-riscv64-zvkned.o
libaes-$(CONFIG_SPARC) += sparc/aes_asm.o
libaes-$(CONFIG_X86) += x86/aes-aesni.o
endif # CONFIG_CRYPTO_LIB_AES_ARCH
+# clean-files must be defined unconditionally
+clean-files += powerpc/aesp8-ppc.S
+
################################################################################
obj-$(CONFIG_CRYPTO_LIB_AESCFB) += libaescfb.o
libaescfb-y := aescfb.o
base-commit: ebba09f198078b7a2565004104ef762d1148e7f0
--
2.53.0
More information about the Linuxppc-dev
mailing list