2000-03-31 16:03:02 +00:00
|
|
|
# Common defines for all of /sys/boot/pc98/
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2004-02-07 12:19:44 +00:00
|
|
|
BINDIR?= /boot
|
|
|
|
|
2009-09-13 11:20:17 +00:00
|
|
|
LOADER_ADDRESS?=0x200000
|
2013-12-26 11:32:39 +00:00
|
|
|
CFLAGS+= -march=i386 -ffreestanding
|
|
|
|
CFLAGS.gcc+= -mpreferred-stack-boundary=2
|
|
|
|
CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
|
2012-11-10 12:42:28 +00:00
|
|
|
CFLAGS+= -Os -DPC98
|
2004-02-09 16:01:45 +00:00
|
|
|
LDFLAGS+= -nostdlib
|
2004-02-07 12:19:44 +00:00
|
|
|
|
|
|
|
# BTX components
|
|
|
|
.if exists(${.OBJDIR}/../btx)
|
|
|
|
BTXDIR= ${.OBJDIR}/../btx
|
|
|
|
.else
|
|
|
|
BTXDIR= ${.CURDIR}/../btx
|
|
|
|
.endif
|
|
|
|
BTXLDR= ${BTXDIR}/btxldr/btxldr
|
|
|
|
BTXKERN= ${BTXDIR}/btx/btx
|
|
|
|
BTXCRT= ${BTXDIR}/lib/crt0.o
|
2008-06-25 21:33:28 +00:00
|
|
|
|
|
|
|
.include "../Makefile.inc"
|