From 44a9c1d860cc9bdb29f2b99b1838cd2d18a5c7cc Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 11 May 2016 10:40:10 -0400 Subject: [PATCH] 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 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) 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))) -- 2.34.1