summaryrefslogtreecommitdiffstats
path: root/arch/arm/probes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/probes/Makefile')
-rw-r--r--arch/arm/probes/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/probes/Makefile b/arch/arm/probes/Makefile
new file mode 100644
index 0000000000..8b0ea5ace1
--- /dev/null
+++ b/arch/arm/probes/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0
+obj-$(CONFIG_UPROBES) += decode.o decode-arm.o uprobes/
+obj-$(CONFIG_KPROBES) += decode.o kprobes/
+ifdef CONFIG_THUMB2_KERNEL
+obj-$(CONFIG_KPROBES) += decode-thumb.o
+else
+obj-$(CONFIG_KPROBES) += decode-arm.o
+endif