Makefile (aaccf3c97418f169afdbb5855e9cbcbda34e90fd) Makefile (c3ff2a5193fa61b1b284cfb1d79628814ed0e95a)
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

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

15CFLAGS_btext.o += -fPIC
16endif
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
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

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

15CFLAGS_btext.o += -fPIC
16endif
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
23CFLAGS_prom_init.o += $(call cc-option, -fno-stack-protector)
24
23ifdef CONFIG_FUNCTION_TRACER
24# Do not trace early boot code
25ifdef CONFIG_FUNCTION_TRACER
26# 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)
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)
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 ---
31endif
32
33obj-y := cputable.o ptrace.o syscalls.o \
34 irq.o align.o signal_32.o pmc.o vdso.o \
35 process.o systbl.o idle.o \
36 signal.o sysfs.o cacheinfo.o time.o \
37 prom.o traps.o setup-common.o \
38 udbg.o misc.o io.o dma.o misc_$(BITS).o \

--- 145 unchanged lines hidden ---