Makefile (7fbb8759eff9a348efa5f352ffaa51c364837c4b) Makefile (f1eecf0e4f0796911cc076f38fcf05fea0b353d5)
1#
2# Makefile for the linux kernel.
3#
4
5CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
6
7ifeq ($(CONFIG_PPC64),y)
8CFLAGS_prom_init.o += -mno-minimal-toc
9endif
10ifeq ($(CONFIG_PPC32),y)
11CFLAGS_prom_init.o += -fPIC
12CFLAGS_btext.o += -fPIC
13endif
14
15ifdef CONFIG_FUNCTION_TRACER
16# Do not trace early boot code
17CFLAGS_REMOVE_cputable.o = -pg -mno-sched-epilog
18CFLAGS_REMOVE_prom_init.o = -pg -mno-sched-epilog
19CFLAGS_REMOVE_btext.o = -pg -mno-sched-epilog
1#
2# Makefile for the linux kernel.
3#
4
5CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
6
7ifeq ($(CONFIG_PPC64),y)
8CFLAGS_prom_init.o += -mno-minimal-toc
9endif
10ifeq ($(CONFIG_PPC32),y)
11CFLAGS_prom_init.o += -fPIC
12CFLAGS_btext.o += -fPIC
13endif
14
15ifdef CONFIG_FUNCTION_TRACER
16# Do not trace early boot code
17CFLAGS_REMOVE_cputable.o = -pg -mno-sched-epilog
18CFLAGS_REMOVE_prom_init.o = -pg -mno-sched-epilog
19CFLAGS_REMOVE_btext.o = -pg -mno-sched-epilog
20CFLAGS_REMOVE_prom.o = -pg -mno-sched-epilog
20
21ifdef CONFIG_DYNAMIC_FTRACE
22# dynamic ftrace setup.
23CFLAGS_REMOVE_ftrace.o = -pg -mno-sched-epilog
24endif
25
26endif
27

--- 100 unchanged lines hidden ---
21
22ifdef CONFIG_DYNAMIC_FTRACE
23# dynamic ftrace setup.
24CFLAGS_REMOVE_ftrace.o = -pg -mno-sched-epilog
25endif
26
27endif
28

--- 100 unchanged lines hidden ---