Makefile (3eb66e91a25497065c5322b1268cbc3953642227) Makefile (fb033c95c94ca1ee3d16e04ebdb85d65fb55fff8)
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
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 \
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
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 return_address.o \
20 process.o ptrace.o reboot.o \
21 setup.o signal.o sigreturn_codes.o \
22 stacktrace.o sys_arm.o time.o traps.o
23
21 setup.o signal.o sigreturn_codes.o \
22 stacktrace.o sys_arm.o time.o traps.o
23
24ifneq ($(CONFIG_ARM_UNWIND),y)
25obj-$(CONFIG_FRAME_POINTER) += return_address.o
26endif
27
24obj-$(CONFIG_ATAGS) += atags_parse.o
25obj-$(CONFIG_ATAGS_PROC) += atags_proc.o
26obj-$(CONFIG_DEPRECATED_PARAM_STRUCT) += atags_compat.o
27
28ifeq ($(CONFIG_CPU_V7M),y)
29obj-y += entry-v7m.o v7m.o
30else
31obj-y += entry-armv.o

--- 74 unchanged lines hidden ---
28obj-$(CONFIG_ATAGS) += atags_parse.o
29obj-$(CONFIG_ATAGS_PROC) += atags_proc.o
30obj-$(CONFIG_DEPRECATED_PARAM_STRUCT) += atags_compat.o
31
32ifeq ($(CONFIG_CPU_V7M),y)
33obj-y += entry-v7m.o v7m.o
34else
35obj-y += entry-armv.o

--- 74 unchanged lines hidden ---