Fix: build against Ubuntu kernels
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 14 May 2015 13:13:49 +0000 (09:13 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 14 May 2015 13:13:49 +0000 (09:13 -0400)
commita748963b76f353d459a3faf85eecc96f52811eee
treed1f9ff988de73ed510a5693c61d9e8af5db3d438
parent7bbf55ea7a85748e02c9b3e966c1812032c48eb8
Fix: build against Ubuntu kernels

Recent Ubuntu kernels appear to define DEBIAN_API_VERSION, but they are
not really a Debian kernel per-se: the abi-debian-version.sh cannot find
the expected Debian kernel version string layout.

Therefore, change the conditional check to use directly the
LTTNG_DEBIAN_VERSION_CODE define, which is defined only when the
abi-debian-version.sh script figures out it builds against a Debian
kernel.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-kernel-version.h
This page took 0.025382 seconds and 4 git commands to generate.