Fix: discover Debian API
[lttng-modules.git] / Makefile.ABI.workarounds
CommitLineData
72e6c528
MD
1# Work-around for distro-specific public modules ABI breakages.
2# Some distributions break the public module instrumentation ABI
3# compared to upstream stable kernels without providing other mean than
4# the kernel EXTRAVERSION to figure it out. Translate this information
5# into a define visible from the C preprocessor.
6
7DEB_API_VERSION=$(shell $(KBUILD_EXTMOD)/abi-debian-version.sh $(KERNELDIR))
8
9ifneq ($(DEB_API_VERSION), 0)
10ccflags-y += -DDEBIAN_API_VERSION=$(DEB_API_VERSION)
11endif
This page took 0.023422 seconds and 4 git commands to generate.