Makefile (793b08e2efff3ec020c5c5861d00ed394fcdd488) Makefile (8dcd71b45df34d9b903450fab147ee8c1e6c16b5)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
7
8ifdef CONFIG_PPC64

--- 6 unchanged lines hidden (view full) ---

15
16CFLAGS_cputable.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
17CFLAGS_prom_init.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
18CFLAGS_btext.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
19CFLAGS_prom.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
20
21CFLAGS_prom_init.o += $(call cc-option, -fno-stack-protector)
22CFLAGS_prom_init.o += -DDISABLE_BRANCH_PROFILING
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
7
8ifdef CONFIG_PPC64

--- 6 unchanged lines hidden (view full) ---

15
16CFLAGS_cputable.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
17CFLAGS_prom_init.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
18CFLAGS_btext.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
19CFLAGS_prom.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
20
21CFLAGS_prom_init.o += $(call cc-option, -fno-stack-protector)
22CFLAGS_prom_init.o += -DDISABLE_BRANCH_PROFILING
23CFLAGS_prom_init.o += -ffreestanding
23
24ifdef CONFIG_FUNCTION_TRACER
25# Do not trace early boot code
26CFLAGS_REMOVE_cputable.o = $(CC_FLAGS_FTRACE)
27CFLAGS_REMOVE_prom_init.o = $(CC_FLAGS_FTRACE)
28CFLAGS_REMOVE_btext.o = $(CC_FLAGS_FTRACE)
29CFLAGS_REMOVE_prom.o = $(CC_FLAGS_FTRACE)
30endif

--- 156 unchanged lines hidden ---
24
25ifdef CONFIG_FUNCTION_TRACER
26# Do not trace early boot code
27CFLAGS_REMOVE_cputable.o = $(CC_FLAGS_FTRACE)
28CFLAGS_REMOVE_prom_init.o = $(CC_FLAGS_FTRACE)
29CFLAGS_REMOVE_btext.o = $(CC_FLAGS_FTRACE)
30CFLAGS_REMOVE_prom.o = $(CC_FLAGS_FTRACE)
31endif

--- 156 unchanged lines hidden ---