]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/boot/pc98/Makefile.inc
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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 -mpreferred-stack-boundary=2 \
9                 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
10 CFLAGS+=        -Os -DPC98
11 LDFLAGS+=       -nostdlib
12
13 # BTX components
14 .if exists(${.OBJDIR}/../btx)
15 BTXDIR=         ${.OBJDIR}/../btx
16 .else
17 BTXDIR=         ${.CURDIR}/../btx
18 .endif
19 BTXLDR=         ${BTXDIR}/btxldr/btxldr
20 BTXKERN=        ${BTXDIR}/btx/btx
21 BTXCRT=         ${BTXDIR}/lib/crt0.o
22
23 .include "../Makefile.inc"