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 116864 2003-06-26 03:51:57Z peter $
| 3# $FreeBSD: head/sys/boot/i386/Makefile.inc 125516 2004-02-06 12:45:27Z ru $
|
4 5LOADER_ADDRESS?= 0x200000 6CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 7 8.if ${MACHINE_ARCH} == "amd64" 9.MAKEFLAGS: MACHINE_ARCH=i386 MACHINE=i386 REALLY_AMD64=true 10.endif 11
| 4 5LOADER_ADDRESS?= 0x200000 6CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 7 8.if ${MACHINE_ARCH} == "amd64" 9.MAKEFLAGS: MACHINE_ARCH=i386 MACHINE=i386 REALLY_AMD64=true 10.endif 11
|
12.if defined(REALLY_AMD64) && !defined(__been_to_Makefile_inc) 13__been_to_Makefile_inc= 1
| 12.if defined(REALLY_AMD64)
|
14CFLAGS+= -m32 15LDFLAGS+= -m elf_i386_fbsd 16AFLAGS+= --32 17.endif
| 13CFLAGS+= -m32 14LDFLAGS+= -m elf_i386_fbsd 15AFLAGS+= --32 16.endif
|