2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2018-09-05 06:25:06 +00:00
|
|
|
extra-y := head.o vmlinux.lds
|
|
|
|
|
2021-01-04 03:37:07 +00:00
|
|
|
obj-y += entry.o atomic.o signal.o traps.o irq.o time.o vdso.o vdso/
|
2018-09-05 06:25:06 +00:00
|
|
|
obj-y += power.o syscall.o syscall_table.o setup.o
|
2020-05-13 07:15:25 +00:00
|
|
|
obj-y += process.o cpu-probe.o ptrace.o stacktrace.o
|
2020-04-01 01:17:02 +00:00
|
|
|
obj-y += probes/
|
2018-09-05 06:25:06 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_MODULES) += module.o
|
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
2018-12-09 06:29:59 +00:00
|
|
|
obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o
|
2018-12-09 06:18:05 +00:00
|
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
2019-01-02 14:09:25 +00:00
|
|
|
obj-$(CONFIG_CSKY_PMU_V1) += perf_event.o
|
2019-02-21 13:41:26 +00:00
|
|
|
obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
|
2019-04-15 09:17:29 +00:00
|
|
|
obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
|
2018-12-09 06:29:59 +00:00
|
|
|
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
|
|
|
|
endif
|