X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2FMakefile;h=0314a5e2205679616f015a37dd7ec727fd3f6270;hb=b37d476e197064573206a68ed3bcc2e63257edd8;hp=f0325c875e2cb3f233fdd1c3181794c0e20dc5dd;hpb=f3586d9469001dabcf1c163466a57726b7936dc9;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index f0325c87..0314a5e2 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -5,9 +5,10 @@ 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