WIP FPC-III support
[linux/fpc-iii.git] / arch / csky / kernel / Makefile
blob37f37c0e934a8f36c95f7e2e0654ecf63b08e503
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 stacktrace.o
7 obj-y += probes/
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
17 ifdef CONFIG_FUNCTION_TRACER
18 CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
19 endif