Makefile (9dd78194a3722fa6712192cdd4f7032d45112a9a) Makefile (6845d64d51cf69c096176e34864e161429bcb664)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6CPPFLAGS_vmlinux.lds := -DTEXT_OFFSET=$(TEXT_OFFSET)
7AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET)
8
9ifdef CONFIG_FUNCTION_TRACER
10CFLAGS_REMOVE_ftrace.o = -pg
11CFLAGS_REMOVE_insn.o = -pg
12CFLAGS_REMOVE_patch.o = -pg
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6CPPFLAGS_vmlinux.lds := -DTEXT_OFFSET=$(TEXT_OFFSET)
7AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET)
8
9ifdef CONFIG_FUNCTION_TRACER
10CFLAGS_REMOVE_ftrace.o = -pg
11CFLAGS_REMOVE_insn.o = -pg
12CFLAGS_REMOVE_patch.o = -pg
13CFLAGS_REMOVE_unwind.o = -pg
13endif
14
15CFLAGS_REMOVE_return_address.o = -pg
16
17# Object file lists.
18
19obj-y := elf.o entry-common.o irq.o opcodes.o \
20 process.o ptrace.o reboot.o io.o \

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

101obj-$(CONFIG_ARM_VIRT_EXT) += hyp-stub.o
102AFLAGS_hyp-stub.o :=-Wa,-march=armv7-a
103ifeq ($(CONFIG_ARM_PSCI),y)
104obj-$(CONFIG_SMP) += psci_smp.o
105endif
106
107obj-$(CONFIG_HAVE_ARM_SMCCC) += smccc-call.o
108
14endif
15
16CFLAGS_REMOVE_return_address.o = -pg
17
18# Object file lists.
19
20obj-y := elf.o entry-common.o irq.o opcodes.o \
21 process.o ptrace.o reboot.o io.o \

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

102obj-$(CONFIG_ARM_VIRT_EXT) += hyp-stub.o
103AFLAGS_hyp-stub.o :=-Wa,-march=armv7-a
104ifeq ($(CONFIG_ARM_PSCI),y)
105obj-$(CONFIG_SMP) += psci_smp.o
106endif
107
108obj-$(CONFIG_HAVE_ARM_SMCCC) += smccc-call.o
109
109obj-$(CONFIG_GENERIC_CPU_VULNERABILITIES) += spectre.o
110
111extra-y := $(head-y) vmlinux.lds
110extra-y := $(head-y) vmlinux.lds