3 # Options used when building app-specific efi components
4 # See conf/kern.mk for the correct set of these
8 .if ${MACHINE_CPUARCH} == "amd64"
10 CFLAGS+= -mno-red-zone
13 .if ${MACHINE_CPUARCH} == "aarch64"
14 CFLAGS+= -fshort-wchar
18 .if ${MACHINE_CPUARCH} == "arm"
22 .if ${MACHINE_CPUARCH} == "amd64"
23 EFI_TARGET= efi-app-x86_64
24 .elif ${MACHINE_CPUARCH} == "i386"
25 EFI_TARGET= efi-app-ia32
30 # Arbitrarily set the PE/COFF header timestamps to 1 Jan 2016 00:00:00
31 # for build reproducibility.
32 SOURCE_DATE_EPOCH?=1451606400
34 .include "../Makefile.inc"