]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
bpf: install libbpf headers on 'make install'
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 25 Jul 2017 18:17:11 +0000 (11:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jul 2017 20:42:09 +0000 (13:42 -0700)
commiteb54e522a000b8e625e03282fd434fb725a530c0
tree3e9c87ff1747e60ce5bdc65ddf97cbdfa1cdb7e6
parent9877e1058aaf166b578ed44c8e0fc78fe6e67152
bpf: install libbpf headers on 'make install'

Add a new target to install the bpf.h header to $(prefix)/include/bpf/
directory.  This is necessary to build standalone applications using
libbpf, without the need to clone the kernel sources and point to them.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/lib/bpf/Makefile