From 215c7520fb6e8e3dce00d674859544da6598b747 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 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))) -- 2.34.1