From: Mathieu Desnoyers Date: Wed, 11 May 2016 14:40:10 +0000 (-0400) Subject: Fix: make clean does not include dot-config X-Git-Tag: v2.7.4~9 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=44a9c1d860cc9bdb29f2b99b1838cd2d18a5c7cc Fix: make clean does not include dot-config Skip the CONFIG_TRACEPOINT test if dot-config has not been included. Signed-off-by: Mathieu Desnoyers --- diff --git a/Makefile b/Makefile index 8fa115d2..d12411e0 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)))