Stop build if CONFIG_TRACEPOINTS is not set
[lttng-modules.git] / Makefile
index 39672afc61b29e506e8ff4fb66eb486f00fd2177..fcb14f2fcefc45710e67d50b33f887548ec459d6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,13 @@
 #
 
 ifneq ($(KERNELRELEASE),)
+
+ifeq ($(CONFIG_TRACEPOINTS),)
+
+$(error You need to enable CONFIG_TRACEPOINTS in kernel!)
+
+endif #CONFIG_TRACEPOINTS
+
 ifneq ($(CONFIG_TRACEPOINTS),)
 
 obj-m += lttng-ring-buffer-client-discard.o
This page took 0.022802 seconds and 4 git commands to generate.