Makefile (5ac47f7a6efbd4fa9141c249e8af3f74e7944eb7) Makefile (1fbe9cf2598dae3bd464d860bd89c67b1ff8682b)
1#
2# Makefile for the linux kernel.
3#
4
5CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
6
7subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
8
9ifeq ($(CONFIG_PPC64),y)
1#
2# Makefile for the linux kernel.
3#
4
5CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
6
7subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
8
9ifeq ($(CONFIG_PPC64),y)
10CFLAGS_prom_init.o += -mno-minimal-toc
10CFLAGS_prom_init.o += $(NO_MINIMAL_TOC)
11endif
12ifeq ($(CONFIG_PPC32),y)
13CFLAGS_prom_init.o += -fPIC
14CFLAGS_btext.o += -fPIC
15endif
16
17ifdef CONFIG_FUNCTION_TRACER
18# Do not trace early boot code

--- 149 unchanged lines hidden ---
11endif
12ifeq ($(CONFIG_PPC32),y)
13CFLAGS_prom_init.o += -fPIC
14CFLAGS_btext.o += -fPIC
15endif
16
17ifdef CONFIG_FUNCTION_TRACER
18# Do not trace early boot code

--- 149 unchanged lines hidden ---