Adapt to 3.15 tracepoint API
[lttng-modules.git] / Makefile
index a4c602fdb971277a7f17f9f3a3a666a883315894..606b5ec8b104b756dad0f56e35105c67d43c5907 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,10 @@ lttng-tracer-objs += $(shell \
                echo "lttng-context-perf-counters.o" ; fi;)
 endif # CONFIG_PERF_EVENTS
 
+lttng-tracer-objs += $(shell \
+       if [ $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 15 -a $(SUBLEVEL) -ge 0 ] ; then \
+               echo "lttng-tracepoint.o" ; fi;)
+
 obj-m += probes/
 obj-m += lib/
 
This page took 0.023362 seconds and 4 git commands to generate.