]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Makefile set specified permission mode
authorJesper Dangaard Brouer <brouer@redhat.com>
Tue, 16 Jan 2018 23:20:40 +0000 (00:20 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 17 Jan 2018 00:18:10 +0000 (01:18 +0100)
commit9af8bc4a4e30dfb214061752ffcc0be0d12d1039
tree4b958b2f7eeac22b15985a25b39b3abdcd35ef75
parent1dc045a7f001825558c11b6c8b1aa8dc1d461610
libbpf: Makefile set specified permission mode

The third parameter to do_install was not used by $(INSTALL) command.
Fix this by only setting the -m option when the third parameter is supplied.

The use of a third parameter was introduced in commit  4648c4182b45 ("bpf:
install libbpf headers on 'make install'").

Without this change, the header files are install as executables files (755).

Fixes: 4648c4182b45 ("bpf: install libbpf headers on 'make install'")
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/lib/bpf/Makefile