Fix: remove CONFIG_KALLSYMS_ALL warning on clean
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 5 May 2017 16:08:07 +0000 (12:08 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 5 May 2017 17:30:39 +0000 (13:30 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
probes/Kbuild

index 2fc16eb08749cfdaf1052141b12bdade760df796..23d48485c067e021ed80b0811be1029d240f1236 100644 (file)
@@ -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),)
This page took 0.026392 seconds and 4 git commands to generate.