summaryrefslogtreecommitdiff
path: root/src/xdp/utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/xdp/utils/Makefile')
-rw-r--r--src/xdp/utils/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/xdp/utils/Makefile b/src/xdp/utils/Makefile
new file mode 100644
index 000000000..42d6e63e3
--- /dev/null
+++ b/src/xdp/utils/Makefile
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+
+USER_TARGETS := xdp_stats xdp_loader
+
+LIBBPF_DIR = ../libbpf/src/
+COMMON_DIR = ../common/
+
+# Extend with another COMMON_OBJS
+COMMON_OBJS += $(COMMON_DIR)/common_libbpf.o
+
+include $(COMMON_DIR)/common.mk