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]
/
probes
/
Makefile
diff --git
a/probes/Makefile
b/probes/Makefile
index f0325c875e2cb3f233fdd1c3181794c0e20dc5dd..0314a5e2205679616f015a37dd7ec727fd3f6270 100644
(file)
--- a/
probes/Makefile
+++ b/
probes/Makefile
@@
-5,9
+5,10
@@
ifneq ($(KERNELRELEASE),)
ifneq ($(CONFIG_TRACEPOINTS),)
ifneq ($(KERNELRELEASE),)
ifneq ($(CONFIG_TRACEPOINTS),)
-KERNELDIR=${LTTNG_KERNELDIR}
+KERNELDIR = ${LTTNG_KERNELDIR}
+MAKEFILEDIR = $(shell dirname $(lastword $(MAKEFILE_LIST)))
-include $(
KBUILD_EXTMOD)
/Makefile.ABI.workarounds
+include $(
MAKEFILEDIR)/..
/Makefile.ABI.workarounds
ccflags-y += -I$(PWD)/probes
obj-m += lttng-types.o
ccflags-y += -I$(PWD)/probes
obj-m += lttng-types.o
This page took
0.025051 seconds
and
4
git commands to generate.