projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Support 4.x kernel versions in Makefile
[lttng-modules.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 812ba9ba182c20944694346dfe0529c644266c5a..283cc46ae0d530d8d9340af80c2bf0385dd784b7 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-58,7
+58,8
@@
lttng-tracer-objs += $(shell \
endif # CONFIG_PERF_EVENTS
lttng-tracer-objs += $(shell \
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/
echo "lttng-tracepoint.o" ; fi;)
obj-m += probes/
This page took
0.033073 seconds
and
4
git commands to generate.