projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: allow LTTng to be built within kernel tree
[lttng-modules.git]
/
lib
/
Makefile
diff --git
a/lib/Makefile
b/lib/Makefile
index 420c85a5e587a81fd67ccb8d5344287ce4bf01d3..6074406678c1554fe38d3592e88f058c1cdc7291 100644
(file)
--- a/
lib/Makefile
+++ b/
lib/Makefile
@@
-1,6
+1,7
@@
-KERNELDIR=${LTTNG_KERNELDIR}
+KERNELDIR = ${LTTNG_KERNELDIR}
+MAKEFILEDIR = $(shell dirname $(lastword $(MAKEFILE_LIST)))
-include $(
KBUILD_EXTMOD)
/Makefile.ABI.workarounds
+include $(
MAKEFILEDIR)/..
/Makefile.ABI.workarounds
obj-m += lttng-lib-ring-buffer.o
obj-m += lttng-lib-ring-buffer.o
This page took
0.023873 seconds
and
4
git commands to generate.