Heinrich Schuchardt | 0f675d9 | 2019-11-07 08:05:17 +0100 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * PE/COFF header for EFI applications |
| 4 | * |
| 5 | * Copyright (c) 2019 Heinrich Schuchardt |
| 6 | */ |
| 7 | |
| 8 | #include <host_arch.h> |
| 9 | |
| 10 | #if HOST_ARCH == HOST_ARCH_X86_64 |
| 11 | #include "../../../arch/x86/lib/crt0_x86_64_efi.S" |
| 12 | #endif |
| 13 | |
| 14 | #if HOST_ARCH == HOST_ARCH_X86 |
| 15 | #include "../../../arch/x86/lib/crt0_ia32_efi.S" |
| 16 | #endif |
| 17 | |
| 18 | #if HOST_ARCH == HOST_ARCH_AARCH64 |
| 19 | #include "../../../arch/arm/lib/crt0_aarch64_efi.S" |
| 20 | #endif |
| 21 | |
| 22 | #if HOST_ARCH == HOST_ARCH_ARM |
| 23 | #include "../../../arch/arm/lib/crt0_arm_efi.S" |
| 24 | #endif |
| 25 | |
| 26 | #if HOST_ARCH == HOST_ARCH_RISCV32 |
| 27 | #include "../../../arch/riscv/lib/crt0_riscv_efi.S" |
| 28 | #endif |
| 29 | |
| 30 | #if HOST_ARCH == HOST_ARCH_RISCV64 |
| 31 | #include "../../../arch/riscv/lib/crt0_riscv_efi.S" |
| 32 | #endif |