projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: lttng_abi_create_event{,_notifier}: use switch/case rather than if
[lttng-modules.git]
/
Kbuild.common
diff --git
a/Kbuild.common
b/Kbuild.common
index 09296e7032af804303e8eb8b3cc5dedff72ac3b7..f64cb09d5ff0c5a83bdf22d9e75b2e74d9aa1f89 100644
(file)
--- a/
Kbuild.common
+++ b/
Kbuild.common
@@
-1,4
+1,8
@@
-# SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1)
+# SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only)
+
+ccflags-y += -DLTTNG_LINUX_MAJOR=$(VERSION)
+ccflags-y += -DLTTNG_LINUX_MINOR=$(PATCHLEVEL)
+ccflags-y += -DLTTNG_LINUX_PATCH=$(SUBLEVEL)
# Work-around for distro-specific public modules ABI breakages.
# Some distributions break the public module instrumentation ABI
# Work-around for distro-specific public modules ABI breakages.
# Some distributions break the public module instrumentation ABI
This page took
0.023806 seconds
and
4
git commands to generate.