X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=Makefile.ABI.workarounds;h=c3717f814d8c544ef5be9eb444e024196ba89ef4;hb=c6dd600b0d9b49f265c701d2b955a6c358e6e6f4;hp=470bdef71b4a89182969afb473bb618aeb2e406d;hpb=26e3ab8f7a866c8621bff19db0875bf863583fd7;p=lttng-modules.git diff --git a/Makefile.ABI.workarounds b/Makefile.ABI.workarounds index 470bdef7..c3717f81 100644 --- a/Makefile.ABI.workarounds +++ b/Makefile.ABI.workarounds @@ -16,6 +16,12 @@ ifneq ($(RHEL_API_VERSION), 0) ccflags-y += -DRHEL_API_VERSION=$(RHEL_API_VERSION) endif +SLE_API_VERSION:=$(shell $(TOP_LTTNG_MODULES_DIR)/abi-sle-version.sh $(CURDIR)) + +ifneq ($(SLE_API_VERSION), 0) + ccflags-y += -DSLE_API_VERSION=$(SLE_API_VERSION) +endif + RT_PATCH_VERSION:=$(shell $(TOP_LTTNG_MODULES_DIR)/rt-patch-version.sh $(CURDIR)) ifneq ($(RT_PATCH_VERSION), 0)