]> git.baikalelectronics.ru Git - kernel.git/commit
tools: bpf: consistent make bpf_install
authorJiri Benc <jbenc@redhat.com>
Thu, 8 Mar 2018 22:00:37 +0000 (23:00 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 9 Mar 2018 09:22:59 +0000 (10:22 +0100)
commit8538bdfe76d178f64d349b8a4202aaa9050170ca
treec828c3f12ea8899c51b342a23960477dc080d8b1
parentc070b4d31ffd86cc07a6267bc63824cb6621634f
tools: bpf: consistent make bpf_install

Currently, make bpf_install in tools/ does not respect DESTDIR. Moreover, it
installs to /usr/bin/ unconditionally.

Let it respect DESTDIR and allow prefix to be specified. Also, to be more
consistent with bpftool and with the usual customs, default the prefix to
/usr/local instead of /usr.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/bpf/Makefile