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

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.powerpc -- with config changes.
    2 # Copyright 1990 W. Jolitz
    3 #       from: @(#)Makefile.i386 7.1 5/10/91
    4 # $FreeBSD$
    5 #
    6 # Makefile for FreeBSD
    7 #
    8 # This makefile is constructed from a machine description:
    9 #       config machineid
   10 # Most changes should be made in the machine description
   11 #       /sys/powerpc/conf/``machineid''
   12 # after which you should do
   13 #        config machineid
   14 # Generic makefile changes should be made in
   15 #       /sys/conf/Makefile.powerpc
   16 # after which config should be rerun for all machines.
   17 #
   18 
   19 # Which version of config(8) is required.
   20 %VERSREQ=       600012
   21 
   22 STD8X16FONT?=   iso
   23 
   24 .if !defined(S)
   25 .if exists(./@/.)
   26 S=      ./@
   27 .else
   28 S=      ../../..
   29 .endif
   30 .endif
   31 
   32 LDSCRIPT_NAME?= ldscript.${MACHINE_ARCH}
   33 
   34 .include "$S/conf/kern.pre.mk"
   35 
   36 INCLUDES+= -I$S/contrib/libfdt
   37 
   38 .if "${MACHINE_ARCH}" == "powerpcspe"
   39 # Force __SPE__, since the builtin will be removed later with -mno-spe
   40 CFLAGS.gcc+= -mabi=spe -D__SPE__
   41 CFLAGS.clang+= -mspe -D__SPE__ -m32
   42 .endif
   43 CFLAGS+= -msoft-float
   44 CFLAGS.gcc+= -Wa,-many
   45 
   46 # Apply compiler-specific DPAA exceptions.
   47 .if "${COMPILER_TYPE}" == "clang"
   48 DPAAWARNFLAGS += \
   49         -Wno-error=parentheses-equality \
   50         -Wno-error=self-assign \
   51         -Wno-error=incompatible-pointer-types-discards-qualifiers \
   52         -Wno-error=non-literal-null-conversion \
   53         -Wno-error=enum-conversion
   54 .elif "${COMPILER_TYPE}" == "gcc"
   55 DPAAWARNFLAGS += \
   56         -Wno-error=int-in-bool-context
   57 .endif
   58 
   59 # Build position-independent kernel
   60 CFLAGS+= -fPIC
   61 LDFLAGS+= -pie
   62 
   63 .if !empty(DDB_ENABLED)
   64 CFLAGS+=        -fno-omit-frame-pointer
   65 .endif
   66 
   67 %BEFORE_DEPEND
   68 
   69 %OBJS
   70 
   71 %FILES.c
   72 
   73 %FILES.s
   74 
   75 %FILES.m
   76 
   77 %CLEAN
   78 
   79 %RULES
   80 
   81 .include "$S/conf/kern.post.mk"

Cache object: 0b3de136b3318c4d35eab1bab75b0df2


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