summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/Makefile.inc
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-01-07 02:22:45 +0000
committeremaste <emaste@FreeBSD.org>2016-01-07 02:22:45 +0000
commit38d0f31796035d9e143b35883b5ebc60eaa5182d (patch)
tree101d28ede90df7117098bad470ecc087a416c3c3 /sys/boot/efi/Makefile.inc
parent846612d330bcaf313d14c10d56ac864aa14ab840 (diff)
downloadFreeBSD-src-38d0f31796035d9e143b35883b5ebc60eaa5182d.zip
FreeBSD-src-38d0f31796035d9e143b35883b5ebc60eaa5182d.tar.gz
MFC r280950: Move the efi loaders to be under sys/boot/efi
In HEAD this was done to support UEFI on arm64. Merging to stable/10 to facilitate the merging of later UEFI changes.
Diffstat (limited to 'sys/boot/efi/Makefile.inc')
-rw-r--r--sys/boot/efi/Makefile.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/efi/Makefile.inc b/sys/boot/efi/Makefile.inc
index 29ebae4..58c4726 100644
--- a/sys/boot/efi/Makefile.inc
+++ b/sys/boot/efi/Makefile.inc
@@ -7,7 +7,10 @@ CFLAGS+= -march=i386
.endif
# Options used when building app-specific efi components
+# See conf/kern.mk for the correct set of these
CFLAGS+= -ffreestanding -fshort-wchar -Wformat
+CFLAGS+= -mno-red-zone
+CFLAGS+= -mno-mmx -mno-sse -mno-aes -mno-avx -msoft-float
LDFLAGS+= -nostdlib
.include "../Makefile.inc"
OpenPOWER on IntegriCloud