]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Fix INSTALL flag order
authorGeorgi Valkov <gvalkov@abv.bg>
Mon, 8 Mar 2021 18:30:38 +0000 (10:30 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 8 Mar 2021 18:43:27 +0000 (19:43 +0100)
commit4917b7215db16e2e714799df516384dd9836b437
tree0960dc119f8157c8ec02fb5d7b6d10a49a2c5257
parent756f1cd7d84bd0c7391403c5686c9d6eb7a0c1ae
libbpf: Fix INSTALL flag order

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: 47e753a71298 ("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
tools/lib/bpf/Makefile