mirror of https://github.com/acidanthera/audk.git
49 lines
2.1 KiB
Perl
49 lines
2.1 KiB
Perl
## -*- mode: perl; -*-
|
|
# UEFI assembly openssl configuration targets.
|
|
#
|
|
# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
my %targets = (
|
|
#### UEFI
|
|
"UEFI-x86" => {
|
|
perlasm_scheme => "win32n",
|
|
# inherit_from => [ "UEFI", asm("x86_asm") ],
|
|
inherit_from => [ "UEFI" ],
|
|
cpuid_asm_src => "x86cpuid.s",
|
|
aes_asm_src => "aes_core.c aes_cbc.c vpaes-x86.s aesni-x86.s",
|
|
sha1_asm_src => "sha1-586.s sha256-586.s sha512-586.s",
|
|
modes_asm_src => "ghash-x86.s",
|
|
},
|
|
"UEFI-x86-GCC" => {
|
|
perlasm_scheme => "elf",
|
|
# inherit_from => [ "UEFI", asm("x86_asm") ],
|
|
inherit_from => [ "UEFI" ],
|
|
cpuid_asm_src => "x86cpuid.s",
|
|
aes_asm_src => "aes_core.c aes_cbc.c vpaes-x86.s aesni-x86.s",
|
|
sha1_asm_src => "sha1-586.s sha256-586.s sha512-586.s",
|
|
modes_asm_src => "ghash-x86.s",
|
|
},
|
|
"UEFI-x86_64" => {
|
|
perlasm_scheme => "nasm",
|
|
# inherit_from => [ "UEFI", asm("x86_64_asm") ],
|
|
inherit_from => [ "UEFI" ],
|
|
cpuid_asm_src => "x86_64cpuid.s",
|
|
aes_asm_src => "aes_core.c aes_cbc.c vpaes-x86_64.s aesni-x86_64.s aesni-sha1-x86_64.s aesni-sha256-x86_64.s aesni-mb-x86_64.s",
|
|
sha1_asm_src => "sha1-x86_64.s sha256-x86_64.s sha512-x86_64.s sha1-mb-x86_64.s sha256-mb-x86_64.s",
|
|
modes_asm_src => "ghash-x86_64.s aesni-gcm-x86_64.s",
|
|
},
|
|
"UEFI-x86_64-GCC" => {
|
|
perlasm_scheme => "elf",
|
|
# inherit_from => [ "UEFI", asm("x86_64_asm") ],
|
|
inherit_from => [ "UEFI" ],
|
|
cpuid_asm_src => "x86_64cpuid.s",
|
|
aes_asm_src => "aes_core.c aes_cbc.c vpaes-x86_64.s aesni-x86_64.s aesni-sha1-x86_64.s aesni-sha256-x86_64.s aesni-mb-x86_64.s",
|
|
sha1_asm_src => "sha1-x86_64.s sha256-x86_64.s sha512-x86_64.s sha1-mb-x86_64.s sha256-mb-x86_64.s",
|
|
modes_asm_src => "ghash-x86_64.s aesni-gcm-x86_64.s",
|
|
},
|
|
);
|