X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=Makefile.ABI.workarounds;h=470bdef71b4a89182969afb473bb618aeb2e406d;hb=1b7801d6f8db3901daa3c58149397c67ee341855;hp=d30aeaf2939d1922e076e7d7a9a616301f499966;hpb=b933d85e8282a17474d166fc055c4a215a1e4bf9;p=lttng-modules.git diff --git a/Makefile.ABI.workarounds b/Makefile.ABI.workarounds index d30aeaf2..470bdef7 100644 --- a/Makefile.ABI.workarounds +++ b/Makefile.ABI.workarounds @@ -10,6 +10,12 @@ ifneq ($(DEB_API_VERSION), 0) ccflags-y += -DDEBIAN_API_VERSION=$(DEB_API_VERSION) endif +RHEL_API_VERSION:=$(shell $(TOP_LTTNG_MODULES_DIR)/abi-rhel-version.sh $(CURDIR)) + +ifneq ($(RHEL_API_VERSION), 0) + ccflags-y += -DRHEL_API_VERSION=$(RHEL_API_VERSION) +endif + RT_PATCH_VERSION:=$(shell $(TOP_LTTNG_MODULES_DIR)/rt-patch-version.sh $(CURDIR)) ifneq ($(RT_PATCH_VERSION), 0)