summaryrefslogtreecommitdiff
path: root/package/lttng-modules/lttng-modules.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-01-31 20:40:01 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-01-31 23:42:45 +0100
commit16891da22d99ec73696aa22c7564083146d664ec (patch)
treefd552159dff40b2f2810f8d39ed2612215dd86f9 /package/lttng-modules/lttng-modules.mk
parent971e0b0c5faa579b6d07c39bdfacf6c7d8a9b176 (diff)
lttng-modules: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/lttng-modules/lttng-modules.mk')
-rw-r--r--package/lttng-modules/lttng-modules.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/lttng-modules/lttng-modules.mk b/package/lttng-modules/lttng-modules.mk
new file mode 100644
index 000000000..1820c8fdd
--- /dev/null
+++ b/package/lttng-modules/lttng-modules.mk
@@ -0,0 +1,15 @@
+LTTNG_MODULES_VERSION = 2.0-pre11
+LTTNG_MODULES_SITE = http://lttng.org/files/bundles/20111214/
+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))