9d2edd63d4
Go ahead and defined -D_STANDALONE for all targets (only strictly needed for some architecture, but harmless on those it isn't required for). Also add -msoft-float to all architectures uniformly rather that higgley piggley like it is today. Differential Revision: https://reviews.freebsd.org/D3496
25 lines
491 B
Makefile
25 lines
491 B
Makefile
# Common defines for all of /sys/boot/pc98/
|
|
#
|
|
# $FreeBSD$
|
|
|
|
BINDIR?= /boot
|
|
|
|
LOADER_ADDRESS?=0x200000
|
|
CFLAGS+= -march=i386 -ffreestanding
|
|
CFLAGS.gcc+= -mpreferred-stack-boundary=2
|
|
CFLAGS+= ${CFLAGS_NO_SIMD} -msoft-float
|
|
CFLAGS+= -Os -DPC98
|
|
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
|
|
|
|
.include "../Makefile.inc"
|