]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/boot/efi/Makefile.inc
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / boot / efi / Makefile.inc
1 # $FreeBSD$
2
3 BINDIR?=        /boot
4
5 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
6 CFLAGS+=        -march=i386
7 .endif
8
9 .if ${MACHINE_CPUARCH} == "amd64"
10 CFLAGS+=        -m32
11 ACFLAGS+=       -m32
12 LDFLAGS+=       -m elf_i386_fbsd
13 AFLAGS+=        --32
14 .endif
15
16 # Options used when building app-specific efi components
17 CFLAGS+=        -ffreestanding -fshort-wchar -Wformat
18 LDFLAGS+=       -nostdlib
19
20 .include "../Makefile.inc"