endif # CONFIG_PERF_EVENTS
lttng-tracer-objs += $(shell \
- if [ $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 15 -a $(SUBLEVEL) -ge 0 ] ; then \
+ if [ $(VERSION) -ge 4 \
+ -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 15 -a $(SUBLEVEL) -ge 0 \) ] ; then \
echo "lttng-tracepoint.o" ; fi;)
obj-m += probes/
endif
obj-m += $(shell \
- if [ \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 6 \) \
+ if [ $(VERSION) -ge 4 \
+ -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 6 \) \
-o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -eq 5 -a $(SUBLEVEL) -ge 2 \) \
-o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -eq 4 -a $(SUBLEVEL) -ge 9 \) \
-o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -eq 0 -a $(SUBLEVEL) -ge 41 \) ] ; then \
echo "lttng-probe-random.o" ; fi;)
obj-m += $(shell \
- if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 2 ] ; then \
+ if [ $(VERSION) -ge 4 \
+ -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 2 \) ] ; then \
echo "lttng-probe-rcu.o" ; fi;)
ifneq ($(CONFIG_REGMAP),)
obj-m += $(shell \
- if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 2 ] ; then \
+ if [ $(VERSION) -ge 4 \
+ \( -o $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 2 \) ] ; then \
echo "lttng-probe-regmap.o" ; fi;)
endif
ifneq ($(CONFIG_PM_RUNTIME),)
obj-m += $(shell \
- if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 2 ] ; then \
+ if [ $(VERSION) -ge 4 \
+ -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 2 \) ] ; then \
echo "lttng-probe-rpm.o" ; fi;)
endif
ifneq ($(CONFIG_SUNRPC),)
obj-m += $(shell \
- if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 4 ] ; then \
+ if [ $(VERSION) -ge 4 \
+ -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 4 \) ] ; then \
echo "lttng-probe-sunrpc.o" ; fi;)
endif
ifneq ($(CONFIG_VIDEO_V4L2),)
obj-m += $(shell \
- if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 14 ] ; then \
+ if [ $(VERSION) -ge 4 \
+ -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 14 \) ] ; then \
echo "lttng-probe-v4l2.o" ; fi;)
endif