]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
libbpf: Fix INSTALL flag order
authorGeorgi Valkov <gvalkov@abv.bg>
Mon, 8 Mar 2021 18:30:38 +0000 (10:30 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Mar 2021 12:30:17 +0000 (14:30 +0200)
commit40528afecb23fc7eaf4fffe3fe0230c3b33792bc
treee23201f47e34daa0ba793ef92eae3bd801863a9e
parent0624c0461da6ad8d39f4e96bece3fc627c5efe70
libbpf: Fix INSTALL flag order

[ Upstream commit e7fb6465d4c8e767e39cbee72464e0060ab3d20c ]

It was reported ([0]) that having optional -m flag between source and
destination arguments in install command breaks bpftools cross-build
on MacOS. Move -m to the front to fix this issue.

  [0] https://github.com/openwrt/openwrt/pull/3959

Fixes: 7110d80d53f4 ("libbpf: Makefile set specified permission mode")
Signed-off-by: Georgi Valkov <gvalkov@abv.bg>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210308183038.613432-1-andrii@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/lib/bpf/Makefile