Makefile.inc revision 293649
1255801Sdes# $FreeBSD: stable/10/sys/boot/efi/Makefile.inc 293649 2016-01-11 00:43:50Z emaste $
2255801Sdes
3255801SdesBINDIR?=	/boot
4319186Sngie
5255801Sdes.if ${MACHINE_CPUARCH} == "i386"
6255801SdesCFLAGS+=        -march=i386
7255801Sdes.endif
8255801Sdes
9255801Sdes# Options used when building app-specific efi components
10255801Sdes# See conf/kern.mk for the correct set of these
11255801SdesCFLAGS+=	-ffreestanding -Wformat -msoft-float
12255801SdesLDFLAGS+=	-nostdlib
13255801Sdes
14255801Sdes.if ${MACHINE_CPUARCH} == "amd64"
15275042SbaptCFLAGS+=	-fshort-wchar
16255801SdesCFLAGS+=	-mno-red-zone
17255801SdesCFLAGS+=	-mno-mmx -mno-sse -mno-aes -mno-avx
18.endif
19
20
21.include "../Makefile.inc"
22