X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=Makefile;h=c7b8a41712b528e55dc237161de844502d15ee2e;hb=27e6eda75df97483d07d61ba731bbc428e2161f9;hp=42b7a99eca6a7ec018d89a49669b1dc7bcfafad0;hpb=2fa2d39a42f3407edcb0664bf4d04af28837ea2c;p=lttng-modules.git diff --git a/Makefile b/Makefile index 42b7a99e..c7b8a417 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,4 @@ -# -# Makefile for the LTT objects. -# +# SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) ifneq ($(KERNELRELEASE),) @@ -68,10 +66,7 @@ ifneq ($(KERNELRELEASE),) endif # CONFIG_HAVE_SYSCALL_TRACEPOINTS ifneq ($(CONFIG_PERF_EVENTS),) - lttng-tracer-objs += $(shell \ - if [ $(VERSION) -ge 3 \ - -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -eq 6 -a $(SUBLEVEL) -ge 33 \) ] ; then \ - echo "lttng-context-perf-counters.o" ; fi;) + lttng-tracer-objs += lttng-context-perf-counters.o endif # CONFIG_PERF_EVENTS ifneq ($(CONFIG_PREEMPT_RT_FULL),)