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