X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=Makefile.ABI.workarounds;fp=Makefile.ABI.workarounds;h=844b9068afe33100bae1895bdc5b2fcdc68b4964;hb=8d2c7a7c203b62bca1705870256388e2ff7a583c;hp=cb46c17707c242af54027c21bd03ed1e5d682754;hpb=4873090fa6bec2e0dc03f8acf5309b38207bf4dd;p=lttng-modules.git diff --git a/Makefile.ABI.workarounds b/Makefile.ABI.workarounds index cb46c177..844b9068 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 $(MAKEFILEDIR)/abi-rhel-version.sh $(CURDIR)) + +ifneq ($(RHEL_API_VERSION), 0) + ccflags-y += -DRHEL_API_VERSION=$(RHEL_API_VERSION) +endif + RT_PATCH_VERSION:=$(shell $(MAKEFILEDIR)/rt-patch-version.sh $(KERNELDIR)) ifneq ($(RT_PATCH_VERSION), 0)