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/conf/Makefile.mips

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 # Makefile.mips
    2 # $FreeBSD: releng/8.0/sys/conf/Makefile.mips 178170 2008-04-13 06:25:43Z imp $
    3 #
    4 # Makefile for FreeBSD
    5 #
    6 # This makefile is constructed from a machine description:
    7 #       config machineid
    8 # Most changes should be made in the machine description
    9 #       /sys/mips/conf/``machineid''
   10 # after which you should do
   11 #        config machineid
   12 # Generic makefile changes should be made in
   13 #       /sys/conf/Makefile.mips
   14 # after which config should be rerun for all machines.
   15 #
   16 
   17 # Which version of config(8) is required.
   18 %VERSREQ=       600004
   19 
   20 STD8X16FONT?=   iso
   21 
   22 .if !defined(S)
   23 .if exists(./@/.)
   24 S=      ./@
   25 .else
   26 S=      ../../..
   27 .endif
   28 .endif
   29 .include "$S/conf/kern.pre.mk"
   30 
   31 # XXX: Such sweeping assumptions...
   32 MACHINE=mips
   33 MACHINE_ARCH=mips
   34 
   35 MKMODULESENV+=  MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH}
   36 
   37 # We default to the MIPS32 ISA, if none specified in the
   38 # kernel configuration file.
   39 ARCH_FLAGS?=-march=mips32
   40 
   41 HACK_EXTRA_FLAGS=-shared
   42 .if defined(TARGET_BIG_ENDIAN)
   43 CFLAGS+=-EB
   44 SYSTEM_LD+=-EB
   45 HACK_EXTRA_FLAGS+=-EB -Wl,-EB
   46 .else
   47 CFLAGS+=-EL
   48 SYSTEM_LD+=-EL
   49 HACK_EXTRA_FLAGS+=-EL -Wl,-EL
   50 .endif
   51 
   52 # We add the -fno-pic flag to kernels because otherwise performance
   53 # is extremely poor, as well as -mno-abicalls to force no ABI usage.
   54 CFLAGS+=-fno-pic -mno-abicalls -G0 $(ARCH_FLAGS)
   55 HACK_EXTRA_FLAGS+=-fno-pic -mno-abicalls -G0 $(ARCH_FLAGS)
   56 
   57 # XXX hardcoded kernel entry point
   58 ASM_CFLAGS+=${CFLAGS} -D_LOCORE -DLOCORE
   59 
   60 %BEFORE_DEPEND
   61 
   62 %OBJS
   63 
   64 %FILES.c
   65 
   66 %FILES.s
   67 
   68 %FILES.m
   69 
   70 %CLEAN
   71 
   72 %RULES
   73 
   74 .include "$S/conf/kern.post.mk"

Cache object: ff86ccecc16a9462de1be9f617bfe05f


[ 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.