X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=Makefile;h=fcb14f2fcefc45710e67d50b33f887548ec459d6;hb=699f9673466e1a6537ad23cc697b79660639f260;hp=39672afc61b29e506e8ff4fb66eb486f00fd2177;hpb=b4809588d79abb5c9a429f06aaadaf95ec34f449;p=lttng-modules.git diff --git a/Makefile b/Makefile index 39672afc..fcb14f2f 100644 --- 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