2c83b0ad31
This version should support kernel up to 3.15. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
24 lines
815 B
Makefile
24 lines
815 B
Makefile
################################################################################
|
|
#
|
|
# lttng-modules
|
|
#
|
|
################################################################################
|
|
|
|
LTTNG_MODULES_VERSION = 2.5.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
|
|
|
|
LTTNG_MODULES_DEPENDENCIES = linux
|
|
|
|
define LTTNG_MODULES_BUILD_CMDS
|
|
$(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) KERNELDIR=$(LINUX_DIR)
|
|
endef
|
|
|
|
define LTTNG_MODULES_INSTALL_TARGET_CMDS
|
|
$(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) KERNELDIR=$(LINUX_DIR) modules_install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|