Fix: make clean does not include dot-config
[lttng-modules.git] / Makefile
index 8fa115d2e2358458bcc2c9d219378d3bd3e4cd7a..d12411e0dfd8aa7e979c6d89dd2977e6cff88863 100644 (file)
--- 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)))
This page took 0.02809 seconds and 4 git commands to generate.