OSDN Git Service

tools/resolve_btfids: Build libbpf and libsubcmd in separate directories
authorJiri Olsa <jolsa@kernel.org>
Fri, 5 Feb 2021 12:40:17 +0000 (13:40 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 9 Feb 2021 05:21:39 +0000 (21:21 -0800)
commitfc6b48f692f89cc48bfb7fd1aa65454dfe9b2d77
tree3af12f21f5ad4e4ab6f3e48793807a2c6eab4426
parent0a1b0fd929a8bbdf7c47b418b8d0ee6a8de3a7a3
tools/resolve_btfids: Build libbpf and libsubcmd in separate directories

Setting up separate build directories for libbpf and libpsubcmd,
so it's separated from other objects and we don't get them mixed
in the future.

It also simplifies cleaning, which is now simple rm -rf.

Also there's no need for FEATURE-DUMP.libbpf and bpf_helper_defs.h
files in .gitignore anymore.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210205124020.683286-2-jolsa@kernel.org
tools/bpf/resolve_btfids/.gitignore
tools/bpf/resolve_btfids/Makefile