projects
/
deliverable
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Add Fedora version macros
[deliverable/lttng-modules.git]
/
Kbuild.common
diff --git
a/Kbuild.common
b/Kbuild.common
index 16c62ab77b67cbebfba1a63726ca8854148d088a..c0d54093be967a26d9b02071041b7f173c3e6715 100644
(file)
--- a/
Kbuild.common
+++ b/
Kbuild.common
@@
-22,6
+22,12
@@
ifneq ($(SLE_API_VERSION), 0)
ccflags-y += -DSLE_API_VERSION=$(SLE_API_VERSION)
endif
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)
RT_PATCH_VERSION:=$(shell $(TOP_LTTNG_MODULES_DIR)/rt-patch-version.sh $(CURDIR))
ifneq ($(RT_PATCH_VERSION), 0)
This page took
0.023713 seconds
and
5
git commands to generate.