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.6.6~9 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=215c7520fb6e8e3dce00d674859544da6598b747;p=lttng-modules.git 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 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)))