]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/conf/Makefile.powerpc
MFC r329339: libsa: Consolidate tftp sendrecv into net.c sendrecv
[FreeBSD/FreeBSD.git] / sys / conf / Makefile.powerpc
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 CFLAGS+= -msoft-float
39 CFLAGS.gcc+= -Wa,-many
40
41 # Build position-independent kernel
42 CFLAGS+= -fPIC
43 LDFLAGS+= -pie
44
45 .if !empty(DDB_ENABLED)
46 CFLAGS+=        -fno-omit-frame-pointer
47 .endif
48
49 %BEFORE_DEPEND
50
51 %OBJS
52
53 %FILES.c
54
55 %FILES.s
56
57 %FILES.m
58
59 %CLEAN
60
61 %RULES
62
63 .include "$S/conf/kern.post.mk"