summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/probes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kernel/probes/Makefile')
-rw-r--r--arch/riscv/kernel/probes/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/kernel/probes/Makefile b/arch/riscv/kernel/probes/Makefile
new file mode 100644
index 000000000000..8a39507285a3
--- /dev/null
+++ b/arch/riscv/kernel/probes/Makefile
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_KPROBES) += kprobes.o decode-insn.o simulate-insn.o
+obj-$(CONFIG_KPROBES) += kprobes_trampoline.o
+CFLAGS_REMOVE_simulate-insn.o = $(CC_FLAGS_FTRACE)