Makefile.inc revision 125517
1# Common defines for all of /sys/boot/i386/ 2# 3# $FreeBSD: head/sys/boot/i386/Makefile.inc 125517 2004-02-06 12:58:32Z ru $ 4 5BINDIR?= /boot 6 7LOADER_ADDRESS?= 0x200000 8CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 9 10.if ${MACHINE_ARCH} == "amd64" 11.MAKEFLAGS: MACHINE_ARCH=i386 MACHINE=i386 REALLY_AMD64=true 12.endif 13 14.if defined(REALLY_AMD64) 15CFLAGS+= -m32 16LDFLAGS+= -m elf_i386_fbsd 17AFLAGS+= --32 18.endif 19