X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=Makefile.ABI.workarounds;h=470bdef71b4a89182969afb473bb618aeb2e406d;hb=c94ac1ac8ad4a732df9bc7adaa18114b3024d5aa;hp=d30aeaf2939d1922e076e7d7a9a616301f499966;hpb=0dca920627c14df3ca22e244957ed5f9d91894fb;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)