8dfd59d114
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
22 lines
635 B
Makefile
22 lines
635 B
Makefile
################################################################################
|
|
#
|
|
# LTTng-modules
|
|
#
|
|
################################################################################
|
|
|
|
LTTNG_MODULES_VERSION = 2.1.0
|
|
LTTNG_MODULES_SITE = http://lttng.org/files/lttng-modules/
|
|
LTTNG_MODULES_SOURCE = lttng-modules-$(LTTNG_MODULES_VERSION).tar.bz2
|
|
|
|
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))
|