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