83676c3117
LTTng-modules, starting from v2.8, has a mechanism to be built directly into a Linux kernel image, that is, not as loadable kernel modules. For this the `CONFIG_LTTNG_CLOCK_PLUGIN_TEST` and `CONFIG_LTTNG` Make variables were introduced. They need to be explicitly set to `m` here to build the project as loadable kernel modules. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 lines
649 B
Makefile
16 lines
649 B
Makefile
################################################################################
|
|
#
|
|
# lttng-modules
|
|
#
|
|
################################################################################
|
|
|
|
LTTNG_MODULES_VERSION = 2.8.3
|
|
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 (kernel modules), MIT (lib/bitfield.h, lib/prio_heap/*)
|
|
LTTNG_MODULES_LICENSE_FILES = lgpl-2.1.txt gpl-2.0.txt mit-license.txt LICENSE
|
|
LTTNG_MODULES_MODULE_MAKE_OPTS = CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m
|
|
|
|
$(eval $(kernel-module))
|
|
$(eval $(generic-package))
|