Deleted Added
full compact
Makefile.inc (259913) Makefile.inc (287227)
1# Common defines for all of /sys/boot/pc98/
2#
1# Common defines for all of /sys/boot/pc98/
2#
3# $FreeBSD: head/sys/boot/pc98/Makefile.inc 259913 2013-12-26 11:32:39Z dim $
3# $FreeBSD: head/sys/boot/pc98/Makefile.inc 287227 2015-08-27 23:46:42Z imp $
4
5BINDIR?= /boot
6
7LOADER_ADDRESS?=0x200000
8CFLAGS+= -march=i386 -ffreestanding
9CFLAGS.gcc+= -mpreferred-stack-boundary=2
4
5BINDIR?= /boot
6
7LOADER_ADDRESS?=0x200000
8CFLAGS+= -march=i386 -ffreestanding
9CFLAGS.gcc+= -mpreferred-stack-boundary=2
10CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
10CFLAGS+= ${CFLAGS_NO_SIMD} -msoft-float
11CFLAGS+= -Os -DPC98
12LDFLAGS+= -nostdlib
13
14# BTX components
15.if exists(${.OBJDIR}/../btx)
16BTXDIR= ${.OBJDIR}/../btx
17.else
18BTXDIR= ${.CURDIR}/../btx
19.endif
20BTXLDR= ${BTXDIR}/btxldr/btxldr
21BTXKERN= ${BTXDIR}/btx/btx
22BTXCRT= ${BTXDIR}/lib/crt0.o
23
24.include "../Makefile.inc"
11CFLAGS+= -Os -DPC98
12LDFLAGS+= -nostdlib
13
14# BTX components
15.if exists(${.OBJDIR}/../btx)
16BTXDIR= ${.OBJDIR}/../btx
17.else
18BTXDIR= ${.CURDIR}/../btx
19.endif
20BTXLDR= ${BTXDIR}/btxldr/btxldr
21BTXKERN= ${BTXDIR}/btx/btx
22BTXCRT= ${BTXDIR}/lib/crt0.o
23
24.include "../Makefile.inc"