xref: /linux/arch/riscv/kernel/probes/Makefile (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_KPROBES)		+= kprobes.o decode-insn.o simulate-insn.o
3obj-$(CONFIG_RETHOOK)		+= rethook.o rethook_trampoline.o
4obj-$(CONFIG_UPROBES)		+= uprobes.o decode-insn.o simulate-insn.o
5CFLAGS_REMOVE_simulate-insn.o = $(CC_FLAGS_FTRACE)
6CFLAGS_REMOVE_rethook.o = $(CC_FLAGS_FTRACE)
7CFLAGS_REMOVE_rethook_trampoline.o = $(CC_FLAGS_FTRACE)
8