51626c2003
I don't know what's wrong (loader, boot2 or others), but this change is effective. Tested by: NAKAJI Hiroyuki MFC after: 3 days
22 lines
439 B
Makefile
22 lines
439 B
Makefile
# Common defines for all of /sys/boot/pc98/
|
|
#
|
|
# $FreeBSD$
|
|
|
|
BINDIR?= /boot
|
|
|
|
LOADER_ADDRESS?=0x100000
|
|
CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 \
|
|
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 \
|
|
-Os
|
|
LDFLAGS+= -nostdlib
|
|
|
|
# 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
|