X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=Kbuild.common;h=c0d54093be967a26d9b02071041b7f173c3e6715;hb=8a71de6c7995151de4dc8d7274bd4a5e1a2f4f9d;hp=16c62ab77b67cbebfba1a63726ca8854148d088a;hpb=e6213a911b02327e909f438ce80da405ccb12484;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)