Makefile (9ac669fc01dbfef707ecaa6b618c0d03294cca16) Makefile (2a056f58fd33ccc6a0261b552b0f17e7fa4a12f3)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
7
8subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror

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

17
18CFLAGS_cputable.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
19CFLAGS_prom_init.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
20CFLAGS_btext.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
21CFLAGS_prom.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
22
23ifdef CONFIG_FUNCTION_TRACER
24# Do not trace early boot code
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
7
8subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror

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

17
18CFLAGS_cputable.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
19CFLAGS_prom_init.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
20CFLAGS_btext.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
21CFLAGS_prom.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
22
23ifdef CONFIG_FUNCTION_TRACER
24# Do not trace early boot code
25CFLAGS_REMOVE_cputable.o = -mno-sched-epilog $(CC_FLAGS_FTRACE)
26CFLAGS_REMOVE_prom_init.o = -mno-sched-epilog $(CC_FLAGS_FTRACE)
27CFLAGS_REMOVE_btext.o = -mno-sched-epilog $(CC_FLAGS_FTRACE)
28CFLAGS_REMOVE_prom.o = -mno-sched-epilog $(CC_FLAGS_FTRACE)
25CFLAGS_REMOVE_cputable.o = $(CC_FLAGS_FTRACE)
26CFLAGS_REMOVE_prom_init.o = $(CC_FLAGS_FTRACE)
27CFLAGS_REMOVE_btext.o = $(CC_FLAGS_FTRACE)
28CFLAGS_REMOVE_prom.o = $(CC_FLAGS_FTRACE)
29endif
30
31obj-y := cputable.o ptrace.o syscalls.o \
32 irq.o align.o signal_32.o pmc.o vdso.o \
33 process.o systbl.o idle.o \
34 signal.o sysfs.o cacheinfo.o time.o \
35 prom.o traps.o setup-common.o \
36 udbg.o misc.o io.o dma.o misc_$(BITS).o \

--- 145 unchanged lines hidden ---
29endif
30
31obj-y := cputable.o ptrace.o syscalls.o \
32 irq.o align.o signal_32.o pmc.o vdso.o \
33 process.o systbl.o idle.o \
34 signal.o sysfs.o cacheinfo.o time.o \
35 prom.o traps.o setup-common.o \
36 udbg.o misc.o io.o dma.o misc_$(BITS).o \

--- 145 unchanged lines hidden ---