Fix: event ctx get size should be after chan ctx
[deliverable/lttng-modules.git] / Makefile.ABI.workarounds
index be9f1cb5455ba061bf2cad0917ad45c9efcfed54..f766bc93dc2a70ab8f605169350eff4f2200aebe 100644 (file)
@@ -4,8 +4,14 @@
 # the kernel EXTRAVERSION to figure it out. Translate this information
 # into a define visible from the C preprocessor.
 
-DEB_API_VERSION=$(shell $(MAKEFILEDIR)/abi-debian-version.sh $(KERNELDIR))
+DEB_API_VERSION:=$(shell $(MAKEFILEDIR)/abi-debian-version.sh $(CURDIR))
 
 ifneq ($(DEB_API_VERSION), 0)
-ccflags-y += -DDEBIAN_API_VERSION=$(DEB_API_VERSION)
+  ccflags-y += -DDEBIAN_API_VERSION=$(DEB_API_VERSION)
+endif
+
+RT_PATCH_VERSION:=$(shell $(MAKEFILEDIR)/rt-patch-version.sh $(CURDIR))
+
+ifneq ($(RT_PATCH_VERSION), 0)
+  ccflags-y += -DRT_PATCH_VERSION=$(RT_PATCH_VERSION)
 endif
This page took 0.024307 seconds and 5 git commands to generate.