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