The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/boot/i386/Makefile.inc

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # Common defines for all of /sys/boot/i386/
    2 #
    3 # $FreeBSD: releng/10.4/sys/boot/i386/Makefile.inc 260291 2014-01-04 22:00:07Z dim $
    4 
    5 BINDIR?=        /boot
    6 
    7 LOADER_ADDRESS?=0x200000
    8 CFLAGS+=        -march=i386 -ffreestanding
    9 CFLAGS.gcc+=    -mpreferred-stack-boundary=2
   10 CFLAGS+=        -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
   11 LDFLAGS+=       -nostdlib
   12 
   13 .if ${MACHINE_CPUARCH} == "amd64"
   14 CFLAGS+=        -m32
   15 ACFLAGS+=       -m32
   16 # LD_FLAGS is passed directly to ${LD}, not via ${CC}:
   17 LD_FLAGS+=      -m elf_i386_fbsd
   18 AFLAGS+=        --32
   19 .endif
   20 
   21 # BTX components
   22 .if exists(${.OBJDIR}/../btx)
   23 BTXDIR=         ${.OBJDIR}/../btx
   24 .else
   25 BTXDIR=         ${.CURDIR}/../btx
   26 .endif
   27 BTXLDR=         ${BTXDIR}/btxldr/btxldr
   28 BTXKERN=        ${BTXDIR}/btx/btx
   29 BTXCRT=         ${BTXDIR}/lib/crt0.o
   30 
   31 .include "../Makefile.inc"

Cache object: 5737fb0b94a812f2c84f6dba12952430


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.