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