From 41aca9cddd85930fd060945f6f68fc763bfebe6a Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Tue, 13 Oct 2015 00:40:26 -0700 Subject: [PATCH] ARM module building. --- src/makefile.mingw | 9 +++++++++ src/makefile.unix | 2 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/makefile.mingw b/src/makefile.mingw index a969b6b..ef1ecfe 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -140,6 +140,15 @@ crypto/scrypt/asm/obj/scrypt-arm.o: crypto/scrypt/asm/scrypt-arm.S crypto/scrypt/asm/obj/asm-wrapper.o: crypto/scrypt/asm/asm-wrapper.cpp $(CXX) -c $(CFLAGS) -MMD -o $@ $< +crypto/sha2/asm/obj/scrypt-arm.o: crypto/sha2/asm/sha2-x86.S + $(CXX) -c $(CFLAGS) -MMD -o $@ $< + +crypto/sha2/asm/obj/scrypt-arm.o: crypto/sha2/asm/sha2-x86_64.S + $(CXX) -c $(CFLAGS) -MMD -o $@ $< + +crypto/sha2/asm/obj/scrypt-arm.o: crypto/sha2/asm/sha2-arm.S + $(CXX) -c $(CFLAGS) -MMD -o $@ $< + DEFS += -DUSE_ASM else diff --git a/src/makefile.unix b/src/makefile.unix index bfccf32..6f608ef 100644 --- a/src/makefile.unix +++ b/src/makefile.unix @@ -188,7 +188,7 @@ crypto/sha2/asm/obj/sha2-x86.o: crypto/sha2/asm/sha2-x86.S crypto/sha2/asm/obj/sha2-x86_64.o: crypto/sha2/asm/sha2-x86_64.S $(CXX) -c $(xCXXFLAGS) -MMD -o $@ $< -crypto/sha2/asm/obj/sha2-arm.o: crypto/sha2/asm/sha2-x86.S +crypto/sha2/asm/obj/sha2-arm.o: crypto/sha2/asm/sha2-arm.S $(CXX) -c $(xCXXFLAGS) -MMD -o $@ $< DEFS += -DUSE_ASM -- 1.7.1