Fix: make clean does not include dot-config
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 11 May 2016 14:40:10 +0000 (10:40 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 11 May 2016 14:40:33 +0000 (10:40 -0400)
Skip the CONFIG_TRACEPOINT test if dot-config has not been included.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile

index 462cf208778cb2df28e1c028e6cca16690e21b0b..eacd25ee911a5ad228ca7fffd2d6a2da29fd438c 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.026784 seconds and 4 git commands to generate.