From: Michael Jeanson Date: Fri, 5 May 2017 16:08:07 +0000 (-0400) Subject: Fix: remove CONFIG_KALLSYMS_ALL warning on clean X-Git-Tag: v2.10.0-rc1~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b4955a1a4b1a648ff4270363663c5cdcbcb3e3a2;p=lttng-modules.git Fix: remove CONFIG_KALLSYMS_ALL warning on clean Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/Kbuild b/probes/Kbuild index bf14c751..a4f6b32a 100644 --- a/probes/Kbuild +++ b/probes/Kbuild @@ -243,7 +243,9 @@ ifneq ($(CONFIG_KALLSYMS_ALL),) -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -eq 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),)