Makefile.inc revision 143661
1# Common defines for all of /sys/boot/i386/ 2# 3# $FreeBSD: head/sys/boot/i386/Makefile.inc 143661 2005-03-15 18:43:36Z obrien $ 4 5BINDIR?= /boot 6 7LOADER_ADDRESS?=0x200000 8CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 \ 9 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 10LDFLAGS+= -nostdlib 11 12.if ${MACHINE_ARCH} == "amd64" 13CFLAGS+= -m32 14LDFLAGS+= -m elf_i386_fbsd 15AFLAGS+= --32 16.endif 17 18# BTX components 19.if exists(${.OBJDIR}/../btx) 20BTXDIR= ${.OBJDIR}/../btx 21.else 22BTXDIR= ${.CURDIR}/../btx 23.endif 24BTXLDR= ${BTXDIR}/btxldr/btxldr 25BTXKERN= ${BTXDIR}/btx/btx 26BTXCRT= ${BTXDIR}/lib/crt0.o 27