2001-06-09 16:49:51 +00:00
|
|
|
# $FreeBSD$
|
2001-06-16 05:59:45 +00:00
|
|
|
|
2004-02-12 08:10:34 +00:00
|
|
|
BINDIR?= /boot
|
|
|
|
|
2014-02-07 16:28:40 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "i386"
|
2012-10-20 16:57:23 +00:00
|
|
|
CFLAGS+= -march=i386
|
|
|
|
.endif
|
|
|
|
|
2001-06-09 16:49:51 +00:00
|
|
|
# Options used when building app-specific efi components
|
2015-04-01 08:30:40 +00:00
|
|
|
# See conf/kern.mk for the correct set of these
|
2002-12-10 04:20:15 +00:00
|
|
|
CFLAGS+= -ffreestanding -fshort-wchar -Wformat
|
2015-04-01 08:30:40 +00:00
|
|
|
CFLAGS+= -mno-red-zone
|
|
|
|
CFLAGS+= -mno-mmx -mno-sse -mno-aes -mno-avx -msoft-float
|
2004-02-12 08:10:34 +00:00
|
|
|
LDFLAGS+= -nostdlib
|
2008-06-25 21:33:28 +00:00
|
|
|
|
|
|
|
.include "../Makefile.inc"
|