5a57148657
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
816 B
Makefile
24 lines
816 B
Makefile
################################################################################
|
|
#
|
|
# lttng-modules
|
|
#
|
|
################################################################################
|
|
|
|
LTTNG_MODULES_VERSION = 2.2.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))
|