Skip to contentSkip to conversation

lib/crypto: powerpc: Add powerpc/aesp8-ppc.S to clean-files

PATCH Applied Eric Biggers 2 participants 3 messages Mar 17

Subsystems (2)
lore
Share & tools
lore

Eric Biggers

author maintainer
#0 lore raw

PATCH 1/1 lib/crypto: powerpc: Add powerpc/aesp8-ppc.S to clean-files

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")
---
 lib/crypto/Makefile | 3 +++
 1 file changed, 3 insertions(+)
lib/crypto/Makefile +3 -0
index 725eef05b758..dc7a56f7287d 100644
@@ -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

Signature · 1 line
2.53.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Eric Biggers

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")

---
 lib/crypto/Makefile | 3 +++
 1 file changed, 3 insertions(+)
Quoted 23 lines
lib/crypto/Makefile +3 -0
index 725eef05b758..dc7a56f7287d 100644
@@ -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

Signature · 1 line
2.53.0
author maintainer Applied
#2 lore raw
In reply to Eric Biggers
Quoted 7 lines · Eric Biggers

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")
---
 lib/crypto/Makefile | 3 +++
 1 file changed, 3 insertions(+)

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-fixes

- Eric