libbpf: Improve usability of libbpf Makefile
authorXin Liu <liuxin350@huawei.com>
Fri, 2 Dec 2022 08:17:38 +0000 (16:17 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Sat, 3 Dec 2022 00:30:34 +0000 (16:30 -0800)
commit706819495921ddad6b3780140b9d9e9293b6dedc
tree66e33f2f7ec5096c1d5e4a16406a3137f9910273
parentf16a7aa5c2be3134d3b72078b94f36d639552888
libbpf: Improve usability of libbpf Makefile

Current libbpf Makefile does not contain the help command, which
is inconvenient to use. Similar to the Makefile help command of the
perf, a help command is provided to list the commands supported by
libbpf make and the functions of the commands.

Signed-off-by: Xin Liu <liuxin350@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20221202081738.128513-1-liuxin350@huawei.com
tools/lib/bpf/Makefile