Deleted Added
full compact
Makefile.inc (242855) Makefile.inc (242865)
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 242855 2012-11-10 11:55:52Z nyan $
3# $FreeBSD: head/sys/boot/pc98/Makefile.inc 242865 2012-11-10 12:42:28Z nyan $
4
5BINDIR?= /boot
6
7LOADER_ADDRESS?=0x200000
8CFLAGS+= -march=i386 -ffreestanding -mpreferred-stack-boundary=2 \
4
5BINDIR?= /boot
6
7LOADER_ADDRESS?=0x200000
8CFLAGS+= -march=i386 -ffreestanding -mpreferred-stack-boundary=2 \
9 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float \
10 -Os -DPC98
9 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
10CFLAGS+= -Os -DPC98
11LDFLAGS+= -nostdlib
12
13# BTX components
14.if exists(${.OBJDIR}/../btx)
15BTXDIR= ${.OBJDIR}/../btx
16.else
17BTXDIR= ${.CURDIR}/../btx
18.endif
19BTXLDR= ${BTXDIR}/btxldr/btxldr
20BTXKERN= ${BTXDIR}/btx/btx
21BTXCRT= ${BTXDIR}/lib/crt0.o
22
23.include "../Makefile.inc"
11LDFLAGS+= -nostdlib
12
13# BTX components
14.if exists(${.OBJDIR}/../btx)
15BTXDIR= ${.OBJDIR}/../btx
16.else
17BTXDIR= ${.CURDIR}/../btx
18.endif
19BTXLDR= ${BTXDIR}/btxldr/btxldr
20BTXKERN= ${BTXDIR}/btx/btx
21BTXCRT= ${BTXDIR}/lib/crt0.o
22
23.include "../Makefile.inc"