Support LTTng 3.0 release numbering for perf object build
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 15 Jul 2011 15:49:27 +0000 (11:49 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 15 Jul 2011 15:50:34 +0000 (11:50 -0400)
Reported-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile

index 1384ce4866f815cf43612f4fcc07cbb640e47ca7..584ca6b18bf649020136d47c10e6fddeac114a03 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,8 @@ ltt-relay-objs :=  ltt-events.o ltt-debugfs-abi.o \
 
 ifneq ($(CONFIG_PERF_EVENTS),)
 ltt-relay-objs += $(shell \
-       if [ $(VERSION) -ge 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 33 ] ; then \
+       if [ $(VERSION) -ge 3 \
+               -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 33 \) ] ; then \
                echo "lttng-context-perf-counters.o" ; fi;)
 endif
 
This page took 0.026174 seconds and 4 git commands to generate.