From 58a249a6bff1c2f8d71b897c2fb161839e476cdd Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 5 May 2017 12:08:07 -0400 Subject: [PATCH 1/1] Fix: remove CONFIG_KALLSYMS_ALL warning on clean Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- probes/Kbuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/probes/Kbuild b/probes/Kbuild index 2fc16eb0..23d48485 100644 --- a/probes/Kbuild +++ b/probes/Kbuild @@ -238,7 +238,9 @@ ifneq ($(CONFIG_KALLSYMS_ALL),) -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 36 \) ] ; then \ echo "lttng-probe-writeback.o" ; fi;) else - $(warning CONFIG_KALLSYMS_ALL is disabled, therefore probe "writeback" is disabled. Rebuild your kernel with this configuration option enabled in order to trace this subsystem.) + ifdef CONFIG_LOCALVERSION # Check if dot-config is included. + $(warning CONFIG_KALLSYMS_ALL is disabled, therefore probe "writeback" is disabled. Rebuild your kernel with this configuration option enabled in order to trace this subsystem.) + endif endif # CONFIG_KALLSYMS_ALL ifneq ($(CONFIG_KPROBES),) -- 2.34.1