2018-09-05 14:25:06 +08:00
|
|
|
extra-y := head.o vmlinux.lds
|
|
|
|
|
|
|
|
obj-y += entry.o atomic.o signal.o traps.o irq.o time.o vdso.o
|
|
|
|
obj-y += power.o syscall.o syscall_table.o setup.o
|
|
|
|
obj-y += process.o cpu-probe.o ptrace.o dumpstack.o
|
|
|
|
|
|
|
|
obj-$(CONFIG_MODULES) += module.o
|
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
2018-12-09 14:29:59 +08:00
|
|
|
obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o
|
2018-12-09 14:18:05 +08:00
|
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
2019-01-02 22:09:25 +08:00
|
|
|
obj-$(CONFIG_CSKY_PMU_V1) += perf_event.o
|
2019-02-21 21:41:26 +08:00
|
|
|
obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
|
2018-12-09 14:29:59 +08:00
|
|
|
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
|
|
|
|
endif
|