Makefile.inc revision 260096
1# Common defines for all of /sys/boot/i386/ 2# 3# $FreeBSD: stable/10/sys/boot/i386/Makefile.inc 260096 2013-12-30 20:15:46Z dim $ 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 11LDFLAGS+= -nostdlib 12 13.if ${MACHINE_CPUARCH} == "amd64" 14CFLAGS+= -m32 15ACFLAGS+= -m32 16LDFLAGS+= -m elf_i386_fbsd 17AFLAGS+= --32 18.endif 19 20# BTX components 21.if exists(${.OBJDIR}/../btx) 22BTXDIR= ${.OBJDIR}/../btx 23.else 24BTXDIR= ${.CURDIR}/../btx 25.endif 26BTXLDR= ${BTXDIR}/btxldr/btxldr 27BTXKERN= ${BTXDIR}/btx/btx 28BTXCRT= ${BTXDIR}/lib/crt0.o 29 30.include "../Makefile.inc" 31