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
5 obj-y
+= power.o syscall.o syscall_table.o setup.o
6 obj-y
+= process.o cpu-probe.o ptrace.o dumpstack.o
8 obj-
$(CONFIG_MODULES
) += module.o
9 obj-
$(CONFIG_SMP
) += smp.o
10 obj-
$(CONFIG_FUNCTION_TRACER
) += ftrace.o
11 obj-
$(CONFIG_STACKTRACE
) += stacktrace.o
12 obj-
$(CONFIG_CSKY_PMU_V1
) += perf_event.o
13 obj-
$(CONFIG_PERF_EVENTS
) += perf_callchain.o
14 obj-
$(CONFIG_HAVE_PERF_REGS
) += perf_regs.o
16 ifdef CONFIG_FUNCTION_TRACER
17 CFLAGS_REMOVE_ftrace.o
= $(CC_FLAGS_FTRACE
)