Makefile.inc revision 224131
158713Sjhb# Common defines for all of /sys/boot/i386/ 258713Sjhb# 358713Sjhb# $FreeBSD: head/sys/boot/i386/Makefile.inc 224131 2011-07-17 13:50:21Z dim $ 458713Sjhb 5125517SruBINDIR?= /boot 6125517Sru 7125537SruLOADER_ADDRESS?=0x200000 8143661SobrienCFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 \ 9217033Sdim -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float 10125621SruLDFLAGS+= -nostdlib 11116864Speter 12211677Simp.if ${MACHINE_CPUARCH} == "amd64" 13162717SruCFLAGS+= -m32 -march=i386 14224131SdimACFLAGS+= -m32 15125537SruLDFLAGS+= -m elf_i386_fbsd 16125537SruAFLAGS+= --32 17116864Speter.endif 18125537Sru 19125537Sru# BTX components 20125537Sru.if exists(${.OBJDIR}/../btx) 21125537SruBTXDIR= ${.OBJDIR}/../btx 22125537Sru.else 23125537SruBTXDIR= ${.CURDIR}/../btx 24125537Sru.endif 25125537SruBTXLDR= ${BTXDIR}/btxldr/btxldr 26125537SruBTXKERN= ${BTXDIR}/btx/btx 27125537SruBTXCRT= ${BTXDIR}/lib/crt0.o 28180012Sru 29180012Sru.include "../Makefile.inc" 30