summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/openssl/m68k-atari-mint/crypto.bn.Makefile.p
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2017-02-13 23:54:42 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2017-02-13 23:54:42 +0000
commit1ab0f15987f1fe6687eb7e03a521ec5cffae5a48 (patch)
treef4ba6b93e24544ec762b72e0645fcc48d43c14d5 /sdk/recipes/patches/openssl/m68k-atari-mint/crypto.bn.Makefile.p
parentc71bb2fb9237de8dbba5f2b8bb6ffe56010310f5 (diff)
downloadtoolchains-1ab0f15987f1fe6687eb7e03a521ec5cffae5a48.tar.gz
toolchains-1ab0f15987f1fe6687eb7e03a521ec5cffae5a48.tar.bz2
Apply the m68k optimisations also to the m68k Atari build (untested)
This build of OpenSSL will now require at least a 68020. It is my understanding that our CI builds a 68020-60 version of NetSurf so this should not be an issue. These patches were originally written for FreeMiNT so have been previously tested on that platform.
Diffstat (limited to 'sdk/recipes/patches/openssl/m68k-atari-mint/crypto.bn.Makefile.p')
-rw-r--r--sdk/recipes/patches/openssl/m68k-atari-mint/crypto.bn.Makefile.p12
1 files changed, 12 insertions, 0 deletions
diff --git a/sdk/recipes/patches/openssl/m68k-atari-mint/crypto.bn.Makefile.p b/sdk/recipes/patches/openssl/m68k-atari-mint/crypto.bn.Makefile.p
new file mode 100644
index 0000000..8d3bfc6
--- /dev/null
+++ b/sdk/recipes/patches/openssl/m68k-atari-mint/crypto.bn.Makefile.p
@@ -0,0 +1,12 @@
+--- crypto/bn/Makefile 2017-01-26 13:22:03.000000000 +0000
++++ crypto/bn/Makefile 2017-02-11 15:24:31.133017711 +0000
+@@ -60,6 +60,9 @@ lib: $(LIBOBJ)
+ $(RANLIB) $(LIB) || echo Never mind.
+ @touch lib
+
++bn_m68k.o: asm/bn_m68k.s
++ $(CC) $(CFLAGS) -c -o $@ asm/bn_m68k.s
++
+ bn-586.s: asm/bn-586.pl ../perlasm/x86asm.pl
+ $(PERL) asm/bn-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
+ co-586.s: asm/co-586.pl ../perlasm/x86asm.pl