X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=584ca6b18bf649020136d47c10e6fddeac114a03;hb=6af0c092e6e2dd7f3441934fad44faac61fa2ef9;hp=1384ce4866f815cf43612f4fcc07cbb640e47ca7;hpb=2db1399a47bc5a86dade078994cd1060d6d56f64;p=lttng-modules.git 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