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
|
|
|
|
|
|
|
|
LOADER_ADDRESS?=0x100000
|
2005-09-13 08:27:38 +00:00
|
|
|
CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 \
|
|
|
|
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
|
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
|