summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/Makefile
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2019-03-27 14:51:13 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-03-28 16:24:21 +0100
commit379e2014c95b7a454713da822b8ef4ec51ab8a75 (patch)
tree5ba25c629f9bb6f7b9e05ba435b58c9a00afbac5 /tools/lib/bpf/Makefile
parent369b976d6f3613518de1295bd2dee81fb255946d (diff)
downloadlinux-379e2014c95b7a454713da822b8ef4ec51ab8a75.tar.gz
linux-379e2014c95b7a454713da822b8ef4ec51ab8a75.tar.bz2
linux-379e2014c95b7a454713da822b8ef4ec51ab8a75.zip
libbpf: add xsk.h to install_headers target
The xsk.h header file was missing from the install_headers target in the Makefile. This patch simply adds xsk.h to the set of installed headers. Fixes: 1cad07884239 ("libbpf: add support for using AF_XDP sockets") Reported-by: Bruce Richardson <bruce.richardson@intel.com> Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/bpf/Makefile')
-rw-r--r--tools/lib/bpf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile
index 5bf8e52c41fc..279589c29983 100644
--- a/tools/lib/bpf/Makefile
+++ b/tools/lib/bpf/Makefile
@@ -222,6 +222,7 @@ install_headers:
$(call do_install,bpf.h,$(prefix)/include/bpf,644); \
$(call do_install,libbpf.h,$(prefix)/include/bpf,644);
$(call do_install,btf.h,$(prefix)/include/bpf,644);
+ $(call do_install,xsk.h,$(prefix)/include/bpf,644);
install: install_lib