summaryrefslogtreecommitdiffstats
path: root/package/sysdig/sysdig.mk
diff options
context:
space:
mode:
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>2015-03-26 21:41:29 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-30 22:30:51 +0200
commit74fc60a267341879ca71f8eaa64a80f5b5aaf78b (patch)
tree776b877bd73262b515dc29ddbfa571fc28e992d4 /package/sysdig/sysdig.mk
parente759a07939cbd4204212d787520b60b66c6e8011 (diff)
downloadbuildroot-74fc60a267341879ca71f8eaa64a80f5b5aaf78b.tar.gz
buildroot-74fc60a267341879ca71f8eaa64a80f5b5aaf78b.zip
package/sysdig: New package
Sysdig is open source, system-level exploration: capture system state and activity from a running Linux instance, then save, filter and analyze. [Thomas: - remove unneeded 0001-makefile-driver-compile-options.patch, instead pass KERNELDIR in the make options when building the driver, and pass the contents of $(LINUX_MAKE_FLAGS) directly. - use $(SYSDIG_BUILDDIR) instead of $(@D)/buildroot-build, so that the package does not depend on the package infra using specifically buildroot-build as the build subdirectory. - use $(MAKE) -C <foo> instead of cd <foo>; $(MAKE). - rename 0002 patch to 0001, since the 0001 patch is removed.] Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Reviewed-by: Ryan Barnett <ryan.barnett@rockwellcollins.com> Tested-by: Ryan Barnett <ryan.barnett@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/sysdig/sysdig.mk')
-rw-r--r--package/sysdig/sysdig.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk
new file mode 100644
index 0000000000..fb348ff565
--- /dev/null
+++ b/package/sysdig/sysdig.mk
@@ -0,0 +1,22 @@
+################################################################################
+#
+# sysdig
+#
+################################################################################
+
+SYSDIG_VERSION = 0.1.99
+SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION))
+SYSDIG_LICENSE = GPLv2
+SYSDIG_LICENSE_FILES = COPYING
+SYSDIG_CONF_OPTS = -DUSE_BUNDLED_LUAJIT=OFF -DUSE_BUNDLED_ZLIB=OFF \
+ -DUSE_BUNDLED_JSONCPP=OFF
+SYSDIG_DEPENDENCIES = zlib luajit jsoncpp linux
+SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO
+
+define SYSDIG_INSTALL_DRIVER
+ $(MAKE) -C $(SYSDIG_BUILDDIR) $(LINUX_MAKE_FLAGS) KERNELDIR="$(LINUX_DIR)" install_driver
+endef
+
+SYSDIG_POST_INSTALL_TARGET_HOOKS += SYSDIG_INSTALL_DRIVER
+
+$(eval $(cmake-package))
OpenPOWER on IntegriCloud