projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add RT patch version macros
[lttng-modules.git]
/
Makefile.ABI.workarounds
diff --git
a/Makefile.ABI.workarounds
b/Makefile.ABI.workarounds
index d553ee41517cae9491c40650746f70fcff0c0192..e8cf520a2bc20586a61900bf2df378e5cac03ba1 100644
(file)
--- a/
Makefile.ABI.workarounds
+++ b/
Makefile.ABI.workarounds
@@
-4,8
+4,14
@@
# the kernel EXTRAVERSION to figure it out. Translate this information
# into a define visible from the C preprocessor.
# the kernel EXTRAVERSION to figure it out. Translate this information
# into a define visible from the C preprocessor.
-DEB_API_VERSION=$(shell $(MAKEFILEDIR)/abi-debian-version.sh $(KERNELDIR))
+DEB_API_VERSION
:
=$(shell $(MAKEFILEDIR)/abi-debian-version.sh $(KERNELDIR))
ifneq ($(DEB_API_VERSION), 0)
ccflags-y += -DDEBIAN_API_VERSION=$(DEB_API_VERSION)
endif
ifneq ($(DEB_API_VERSION), 0)
ccflags-y += -DDEBIAN_API_VERSION=$(DEB_API_VERSION)
endif
+
+RT_PATCH_VERSION:=$(shell $(MAKEFILEDIR)/rt-patch-version.sh $(KERNELDIR))
+
+ifneq ($(RT_PATCH_VERSION), 0)
+ ccflags-y += -DRT_PATCH_VERSION=$(RT_PATCH_VERSION)
+endif
This page took
0.025441 seconds
and
4
git commands to generate.