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:10 +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 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.026515 seconds and 4 git commands to generate.