linux/tools/bpf/resolve_btfids
Jiri Olsa 7962cb9b64 tools/resolve_btfids: Set srctree variable unconditionally
We want this clean to be called from tree's root Makefile,
which defines same srctree variable and that will screw
the make setup.

We actually do not use srctree being passed from outside,
so we can solve this by setting current srctree value
directly.

Also changing the way how srctree is initialized as suggested
by Andrri.

Also root Makefile does not define the implicit RM variable,
so adding RM initialization.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210205124020.683286-4-jolsa@kernel.org
2021-02-08 21:21:39 -08:00
..
.gitignore tools/resolve_btfids: Build libbpf and libsubcmd in separate directories 2021-02-08 21:21:39 -08:00
Build
main.c tools/resolve_btfids: Warn when having multiple IDs for single type 2021-01-05 18:11:55 -08:00
Makefile tools/resolve_btfids: Set srctree variable unconditionally 2021-02-08 21:21:39 -08:00