X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=Makefile;h=eacd25ee911a5ad228ca7fffd2d6a2da29fd438c;hb=215c7520fb6e8e3dce00d674859544da6598b747;hp=462cf208778cb2df28e1c028e6cca16690e21b0b;hpb=e80ba23f19e6a14f582ed3ed7ec5555fe5674369;p=lttng-modules.git diff --git a/Makefile b/Makefile index 462cf208..eacd25ee 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,11 @@ ifneq ($(KERNELRELEASE),) +ifdef CONFIG_LOCALVERSION # Check if dot-config is included. ifeq ($(CONFIG_TRACEPOINTS),) $(error The option CONFIG_TRACEPOINTS needs to be enabled in your kernel configuration) endif # CONFIG_TRACEPOINTS +endif # ifdef CONFIG_LOCALVERSION KERNELDIR = ${LTTNG_KERNELDIR} MAKEFILEDIR = $(shell dirname $(lastword $(MAKEFILE_LIST)))