1 # SPDX-License-Identifier: GPL-2.0-only
2 extra-y := head.o vmlinux.lds
4 obj-y += entry.o atomic.o signal.o traps.o irq.o time.o vdso.o vdso/
5 obj-y += power.o syscall.o syscall_table.o setup.o io.o
6 obj-y += process.o cpu-probe.o ptrace.o stacktrace.o
9 obj-$(CONFIG_MODULES) += module.o
10 obj-$(CONFIG_SMP) += smp.o
11 obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o
12 obj-$(CONFIG_STACKTRACE) += stacktrace.o
13 obj-$(CONFIG_CSKY_PMU_V1) += perf_event.o
14 obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
15 obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
16 obj-$(CONFIG_JUMP_LABEL) += jump_label.o
18 ifdef CONFIG_FUNCTION_TRACER
19 CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)