Fix single makefile.

Reviewed-by: Geoffrey Thorpe <geoff@geoffthorpe.net>
This commit is contained in:
Ben Laurie 2014-10-04 22:58:13 +01:00
parent 5aed169305
commit 71614df485
2 changed files with 4 additions and 1 deletions

View File

@ -67,7 +67,8 @@ my %mf_import = (
MODES_ASM_OBJ => \$mf_modes_asm,
ENGINES_ASM_OBJ=> \$mf_engines_asm,
FIPSCANISTERONLY => \$mf_fipscanisteronly,
FIPSCANISTERINTERNAL => \$mf_fipscanisterinternal
FIPSCANISTERINTERNAL => \$mf_fipscanisterinternal,
EC_ASM => \$mf_ec_asm,
);
open(IN,"<Makefile") || die "unable to open Makefile!\n";
@ -911,6 +912,7 @@ if ($orig_platform eq 'copy') {
$lib_obj{CRYPTO} .= fix_asm($mf_engines_asm, 'engines');
$lib_obj{CRYPTO} .= fix_asm($mf_rc4_asm, 'crypto/rc4');
$lib_obj{CRYPTO} .= fix_asm($mf_modes_asm, 'crypto/modes');
$lib_obj{CRYPTO} .= fix_asm($mf_ec_asm, 'crypto/ec');
}
foreach (values %lib_nam)

View File

@ -77,6 +77,7 @@ $bf_enc_src="";
'aesni-mb-x86_64' => 'crypto/aes',
'sha1-mb-x86_64' => 'crypto/sha',
'sha256-mb-x86_64' => 'crypto/sha',
'ecp_nistz256-x86_64' => 'crypto/ec',
);
# If I were feeling more clever, these could probably be extracted