summaryrefslogtreecommitdiff
path: root/tools/bpf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bpf/Makefile')
-rw-r--r--tools/bpf/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/tools/bpf/Makefile b/tools/bpf/Makefile
new file mode 100644
index 000000000..a41360ecb
--- /dev/null
+++ b/tools/bpf/Makefile
@@ -0,0 +1,26 @@
+# SPDX-License-Identifier: GPL-2.0
+include ../scripts/Makefile.include
+
+all: bpftool
+
+clean: bpftool_clean resolve_btfids_clean
+
+install: bpftool_install
+
+bpftool:
+ $(call descend,bpftool)
+
+bpftool_install:
+ $(call descend,bpftool,install)
+
+bpftool_clean:
+ $(call descend,bpftool,clean)
+
+resolve_btfids:
+ $(call descend,resolve_btfids)
+
+resolve_btfids_clean:
+ $(call descend,resolve_btfids,clean)
+
+.PHONY: all install clean bpftool bpftool_install bpftool_clean \
+ resolve_btfids resolve_btfids_clean