57f86ba341
lttng-modules' Makefile already uses the Linux buildsystem to build its modules, so just switch to using the new kernel-module infra. To be noted: lttng-modules' Makefile uses $(shell pwd) that expects the PWD to be the Linux' top build directory, which is not the case for us. However, it uses to detect a conflict between a stale static version.h and a generated version.h (due to the switch to uapi). This is of no consequence to us, because we can't have a Linux build directory with such stale files. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 lines
575 B
Makefile
15 lines
575 B
Makefile
################################################################################
|
|
#
|
|
# lttng-modules
|
|
#
|
|
################################################################################
|
|
|
|
LTTNG_MODULES_VERSION = 2.6.0
|
|
LTTNG_MODULES_SITE = http://lttng.org/files/lttng-modules
|
|
LTTNG_MODULES_SOURCE = lttng-modules-$(LTTNG_MODULES_VERSION).tar.bz2
|
|
LTTNG_MODULES_LICENSE = LGPLv2.1/GPLv2 for kernel modules; MIT for lib/bitfield.h and lib/prio_heap/*
|
|
LTTNG_MODULES_LICENSE_FILES = lgpl-2.1.txt gpl-2.0.txt mit-license.txt LICENSE
|
|
|
|
$(eval $(kernel-module))
|
|
$(eval $(generic-package))
|