From: Mathieu Desnoyers Date: Wed, 11 May 2016 14:37:12 +0000 (-0400) Subject: Fix: make clean does not include dot-config X-Git-Tag: v2.8.0~12 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7a9e34376e75468ef5e806cda4cf6653e24cd469;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 588ca960..4804dfef 100644 --- a/Makefile +++ b/Makefile @@ -7,9 +7,11 @@ ifneq ($(KERNELRELEASE),) # This part of the Makefile is used when called by the kernel build system # and defines the modules to be built. - ifeq ($(CONFIG_TRACEPOINTS),) - $(error The option CONFIG_TRACEPOINTS needs to be enabled in your kernel configuration) - endif # CONFIG_TRACEPOINTS + 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 TOP_LTTNG_MODULES_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))