2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-02 14:09:17 +02:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# lttng-modules
|
2012-06-02 14:09:17 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2013-06-30 17:01:03 +02:00
|
|
|
LTTNG_MODULES_VERSION = 2.2.0
|
2012-06-02 14:09:17 +02:00
|
|
|
LTTNG_MODULES_SITE = http://lttng.org/files/lttng-modules/
|
2012-01-31 20:40:01 +01:00
|
|
|
LTTNG_MODULES_SOURCE = lttng-modules-$(LTTNG_MODULES_VERSION).tar.bz2
|
2013-06-30 17:01:08 +02:00
|
|
|
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
|
2012-01-31 20:40:01 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|