]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/boot/pc98/Makefile.inc
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / boot / pc98 / Makefile.inc
1 # Common defines for all of /sys/boot/pc98/
2 #
3 # $FreeBSD$
4
5 BINDIR?=        /boot
6
7 LOADER_ADDRESS?=0x200000
8 CFLAGS+=        -march=i386 -ffreestanding
9 CFLAGS.gcc+=    -mpreferred-stack-boundary=2
10 CFLAGS+=        -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
11 CFLAGS+=        -Os -DPC98
12 LDFLAGS+=       -nostdlib
13
14 # BTX components
15 .if exists(${.OBJDIR}/../btx)
16 BTXDIR=         ${.OBJDIR}/../btx
17 .else
18 BTXDIR=         ${.CURDIR}/../btx
19 .endif
20 BTXLDR=         ${BTXDIR}/btxldr/btxldr
21 BTXKERN=        ${BTXDIR}/btx/btx
22 BTXCRT=         ${BTXDIR}/lib/crt0.o
23
24 .include "../Makefile.inc"