X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=Makefile.ABI.workarounds;h=6a0a61fd1716c088acd8abab5e89ba4f152a003c;hb=82151df0af0a93508975b15fc26f1fe151d8c6c3;hp=f84e4ed022d1403d86ef0aed1adc2980eb7cadcf;hpb=360d3efee55154a55c18be32175bee608dcb21df;p=lttng-modules.git diff --git a/Makefile.ABI.workarounds b/Makefile.ABI.workarounds index f84e4ed0..6a0a61fd 100644 --- a/Makefile.ABI.workarounds +++ b/Makefile.ABI.workarounds @@ -1,3 +1,7 @@ +ccflags-y += -DLTTNG_LINUX_MAJOR=$(VERSION) +ccflags-y += -DLTTNG_LINUX_MINOR=$(PATCHLEVEL) +ccflags-y += -DLTTNG_LINUX_PATCH=$(SUBLEVEL) + # Work-around for distro-specific public modules ABI breakages. # Some distributions break the public module instrumentation ABI # compared to upstream stable kernels without providing other mean than