1 # Makefile.powerpc -- with config changes.
2 # Copyright 1990 W. Jolitz
3 # from: @(#)Makefile.i386 7.1 5/10/91
8 # This makefile is constructed from a machine description:
10 # Most changes should be made in the machine description
11 # /sys/powerpc/conf/``machineid''
12 # after which you should do
14 # Generic makefile changes should be made in
15 # /sys/conf/Makefile.powerpc
16 # after which config should be rerun for all machines.
19 # Which version of config(8) is required.
32 LDSCRIPT_NAME?= ldscript.${MACHINE_ARCH}
34 .include "$S/conf/kern.pre.mk"
36 INCLUDES+= -I$S/contrib/libfdt
38 CFLAGS+= -msoft-float -Wa,-many
40 .if !empty(DDB_ENABLED)
41 CFLAGS+= -fno-omit-frame-pointer
58 .include "$S/conf/kern.post.mk"