mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-05 04:33:05 +09:00
[ Upstream commit7110d80d53] 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 commiteb54e522a0("bpf: install libbpf headers on 'make install'"). Without this change, the header files are install as executables files (755). Fixes:eb54e522a0("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>