]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 17:44:25 +0000 (13:44 -0400)
commit19b1e441d7ee532ec1bb843787cc837e286132e0
treea389ad1a445a0e14b6394d3865702b39b858cc5f
parentae27f61528b2ef94e335222e05ef7428a7aa0976
libbpf: Makefile set specified permission mode

BugLink: http://bugs.launchpad.net/bugs/1774063
[ Upstream commit 7110d80d53f472956420cd05a6297f49b558b674 ]

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  eb54e522a000 ("bpf:
install libbpf headers on 'make install'").

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

Fixes: eb54e522a000 ("bpf: install libbpf headers on 'make install'")
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
tools/lib/bpf/Makefile