summaryrefslogtreecommitdiffstats
path: root/lib/libbpf/.lgtm.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/libbpf/.lgtm.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/libbpf/.lgtm.yml b/lib/libbpf/.lgtm.yml
new file mode 100644
index 0000000..f27137b
--- /dev/null
+++ b/lib/libbpf/.lgtm.yml
@@ -0,0 +1,14 @@
+# vi: set ts=2 sw=2:
+extraction:
+ cpp:
+ prepare:
+ packages:
+ - libelf-dev
+ - pkg-config
+ after_prepare:
+ # As the buildsystem detection by LGTM is performed _only_ during the
+ # 'configure' phase, we need to trick LGTM we use a supported build
+ # system (configure, meson, cmake, etc.). This way LGTM correctly detects
+ # that our sources are in the src/ subfolder.
+ - touch src/configure
+ - chmod +x src/configure