summaryrefslogtreecommitdiff
path: root/kernel/events/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/events/Makefile')
-rw-r--r--kernel/events/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/events/Makefile b/kernel/events/Makefile
new file mode 100644
index 000000000000..1ce23d3d8394
--- /dev/null
+++ b/kernel/events/Makefile
@@ -0,0 +1,6 @@
+ifdef CONFIG_FUNCTION_TRACER
+CFLAGS_REMOVE_core.o = -pg
+endif
+
+obj-y := core.o
+obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o