projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow building on kernels < 2.6.33 (without perf event support)
[lttng-modules.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 517d1f7502f49476be05c95c2b78b94d77d59b0c..9a0effcfc483d605a19547f8b488f64296772f10 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-19,7
+19,9
@@
ltt-relay-objs := ltt-events.o ltt-debugfs-abi.o \
lttng-context-vppid.o
ifneq ($(CONFIG_PERF_EVENTS),)
lttng-context-vppid.o
ifneq ($(CONFIG_PERF_EVENTS),)
-ltt-relay-objs += lttng-context-perf-counters.o
+ltt-relay-objs += $(shell \
+ if [ $(VERSION) -ge 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 33 ] ; then \
+ echo "lttng-context-perf-counters.o" ; fi;)
endif
obj-m += probes/
endif
obj-m += probes/
This page took
0.022642 seconds
and
4
git commands to generate.