summaryrefslogtreecommitdiffstats
path: root/kernel/events/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/events/Makefile')
-rw-r--r--kernel/events/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/events/Makefile b/kernel/events/Makefile
index 26c00e4570e5..1ce23d3d8394 100644
--- a/kernel/events/Makefile
+++ b/kernel/events/Makefile
@@ -2,4 +2,5 @@ ifdef CONFIG_FUNCTION_TRACER
CFLAGS_REMOVE_core.o = -pg
endif
-obj-y += core.o
+obj-y := core.o
+obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o