X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=Makefile;h=584ca6b18bf649020136d47c10e6fddeac114a03;hp=1384ce4866f815cf43612f4fcc07cbb640e47ca7;hb=1386746ec7bbb15e399acdc014cea85f7538552d;hpb=4b58a8e449024771b31c5a827f99d52de19e6870 diff --git a/Makefile b/Makefile index 1384ce48..584ca6b1 100644 --- 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