6f9b649030
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
21 lines
649 B
Makefile
21 lines
649 B
Makefile
#############################################################
|
|
#
|
|
# LTTng-modules: the kernel modules (requires at least Linux 2.6.38)
|
|
#
|
|
#############################################################
|
|
LTTNG_MODULES_VERSION = 2.0.3
|
|
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 $(call GENTARGETS))
|