summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-06-16 16:56:25 +0200
committerRichard Levitte <levitte@openssl.org>2019-06-17 16:08:52 +0200
commitd9dfeb940c9e0c99d5c41464ca1bc6aa40da4184 (patch)
tree2ad55d4a3e05f5fbde2c6fa703e7196b53d6404f /Configure
parente6f98ae404344e4aff55c209dc0f91d76e69fb27 (diff)
Move bn_asm_src file information to build.info files
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9166)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure30
1 files changed, 0 insertions, 30 deletions
diff --git a/Configure b/Configure
index 4cb331ffeb..d577e4027a 100755
--- a/Configure
+++ b/Configure
@@ -1410,35 +1410,6 @@ unless ($disabled{asm}) {
push @{$config{module_defines}}, "OPENSSL_CPUID_OBJ";
}
- $target{bn_asm_src} =~ s/\w+-gf2m.c// if (defined($disabled{ec2m}));
-
- # bn-586 is the only one implementing bn_*_part_words
- if ($target{bn_asm_src} =~ /bn-586/) {
- push @{$config{lib_defines}}, "OPENSSL_BN_ASM_PART_WORDS";
- push @{$config{module_defines}}, "OPENSSL_BN_ASM_PART_WORDS";
- }
- if (!$disabled{sse2} && $target{bn_asm_src} =~ /86/) {
- push @{$config{lib_defines}}, "OPENSSL_IA32_SSE2";
- push @{$config{module_defines}}, "OPENSSL_IA32_SSE2";
- }
-
- if ($target{bn_asm_src} =~ /-mont/) {
- push @{$config{lib_defines}}, "OPENSSL_BN_ASM_MONT";
- push @{$config{module_defines}}, "OPENSSL_BN_ASM_MONT";
- }
- if ($target{bn_asm_src} =~ /-mont5/) {
- push @{$config{lib_defines}}, "OPENSSL_BN_ASM_MONT5";
- push @{$config{module_defines}}, "OPENSSL_BN_ASM_MONT5";
- }
- if ($target{bn_asm_src} =~ /-gf2m/) {
- push @{$config{lib_defines}}, "OPENSSL_BN_ASM_GF2m";
- push @{$config{module_defines}}, "OPENSSL_BN_ASM_GF2m";
- }
- if ($target{bn_asm_src} =~ /-div3w/) {
- push @{$config{lib_defines}}, "BN_DIV3W";
- push @{$config{module_defines}}, "BN_DIV3W";
- }
-
if ($target{sha1_asm_src}) {
push @{$config{lib_defines}}, "SHA1_ASM" if ($target{sha1_asm_src} =~ /sx86/ || $target{sha1_asm_src} =~ /sha1/);
push @{$config{lib_defines}}, "SHA256_ASM" if ($target{sha1_asm_src} =~ /sha256/);
@@ -3434,7 +3405,6 @@ sub print_table_entry
"ex_libs",
"bn_ops",
"cpuid_asm_src",
- "bn_asm_src",
"ec_asm_src",
"des_asm_src",
"aes_asm_src",