Deleted Added
full compact
Makefile.inc (180012) Makefile.inc (197156)
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 180012 2008-06-25 21:33:28Z ru $
3# $FreeBSD: head/sys/boot/pc98/Makefile.inc 197156 2009-09-13 11:20:17Z nyan $
4
5BINDIR?= /boot
6
4
5BINDIR?= /boot
6
7LOADER_ADDRESS?=0x100000
7LOADER_ADDRESS?=0x200000
8CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 \
9 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 \
10 -Os
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"
8CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 \
9 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 \
10 -Os
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"