X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=Kbuild.common;fp=Kbuild.common;h=c0d54093be967a26d9b02071041b7f173c3e6715;hb=e4838da19cb97d51313f08913594ce8ed6250bc1;hp=16c62ab77b67cbebfba1a63726ca8854148d088a;hpb=0bcebe87b89a0885c19a86e16a7743b26fc78130;p=lttng-modules.git diff --git a/Kbuild.common b/Kbuild.common index 16c62ab7..c0d54093 100644 --- a/Kbuild.common +++ b/Kbuild.common @@ -22,6 +22,12 @@ ifneq ($(SLE_API_VERSION), 0) ccflags-y += -DSLE_API_VERSION=$(SLE_API_VERSION) endif +FEDORA_REVISION_VERSION:=$(shell $(TOP_LTTNG_MODULES_DIR)/abi-fedora-version.sh $(CURDIR)) + +ifneq ($(FEDORA_REVISION_VERSION), 0) + ccflags-y += -DFEDORA_REVISION_VERSION=$(FEDORA_REVISION_VERSION) +endif + RT_PATCH_VERSION:=$(shell $(TOP_LTTNG_MODULES_DIR)/rt-patch-version.sh $(CURDIR)) ifneq ($(RT_PATCH_VERSION), 0)