[RFC PATCH] powerpc: crypto/vmx: clean up generated files

Naveen N. Rao naveen.n.rao at linux.vnet.ibm.com
Wed Nov 16 04:05:49 AEDT 2016


..as stray .S files result in build errors, especially when using
cross-compilers.

More specifically, the generated .S files are endian-specific and will break
subsequent builds targeting the other endian architecture.

Signed-off-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>
---
 drivers/crypto/vmx/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/vmx/Makefile b/drivers/crypto/vmx/Makefile
index de6e241..31b25cb 100644
--- a/drivers/crypto/vmx/Makefile
+++ b/drivers/crypto/vmx/Makefile
@@ -16,4 +16,4 @@ $(src)/aesp8-ppc.S: $(src)/aesp8-ppc.pl
 $(src)/ghashp8-ppc.S: $(src)/ghashp8-ppc.pl
 	$(call cmd,perl)
 
-.PRECIOUS: $(obj)/aesp8-ppc.S $(obj)/ghashp8-ppc.S
+clean-files := aesp8-ppc.S ghashp8-ppc.S
-- 
2.10.2



More information about the Linuxppc-dev mailing list