X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=Kbuild.common;h=f64cb09d5ff0c5a83bdf22d9e75b2e74d9aa1f89;hb=7b25fa17c155f7088af45e843a711250ab0e7cb7;hp=09296e7032af804303e8eb8b3cc5dedff72ac3b7;hpb=e884017cbfa16713c2c4c6e1cdb0839808736fc9;p=lttng-modules.git diff --git a/Kbuild.common b/Kbuild.common index 09296e70..f64cb09d 100644 --- 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