X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=Makefile;h=e93792c8fabb00bd8157c1c2b603b9d7276af9f9;hb=eb9a7857efa6d55e347b81383a7948d72214e574;hp=1384ce4866f815cf43612f4fcc07cbb640e47ca7;hpb=2db1399a47bc5a86dade078994cd1060d6d56f64;p=lttng-modules.git diff --git a/Makefile b/Makefile index 1384ce48..e93792c8 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ obj-m += ltt-ring-buffer-metadata-mmap-client.o obj-m += ltt-relay.o ltt-relay-objs := ltt-events.o ltt-debugfs-abi.o \ - ltt-probes.o ltt-core.o ltt-context.o \ + ltt-probes.o ltt-context.o \ lttng-context-pid.o lttng-context-comm.o \ lttng-context-prio.o lttng-context-nice.o \ lttng-context-vpid.o lttng-context-tid.o \ @@ -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