aboutsummaryrefslogtreecommitdiffstats
path: root/arch/csky/kernel/Makefile
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2019-01-02 22:09:25 +0800
committerGuo Ren <ren_guo@c-sky.com>2019-01-02 22:17:11 +0800
commitf50fd2d8524c15b08da9e7e9d84752f0f1be7172 (patch)
tree063f9ff5983ddf5973269d8386245b5329766e28 /arch/csky/kernel/Makefile
parent6256734f9173b19e8dd1e21e04b1398a0137f99b (diff)
downloadlinux-f50fd2d8524c15b08da9e7e9d84752f0f1be7172.tar.gz
csky: Add perf support for C-SKY
This adds basic perf support for all C-SKY CPUs. Hardware events are only supported by 807/810/860. Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'arch/csky/kernel/Makefile')
-rw-r--r--arch/csky/kernel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/csky/kernel/Makefile b/arch/csky/kernel/Makefile
index 3c0e2d15d4e0..484e6d3a3647 100644
--- a/arch/csky/kernel/Makefile
+++ b/arch/csky/kernel/Makefile
@@ -8,6 +8,7 @@ obj-$(CONFIG_MODULES) += module.o
obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o
obj-$(CONFIG_STACKTRACE) += stacktrace.o
+obj-$(CONFIG_CSKY_PMU_V1) += perf_event.o
ifdef CONFIG_FUNCTION_TRACER
CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)