]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Re-build libbpf.so when libbpf.map changes
authorAndrii Nakryiko <andrii@kernel.org>
Sun, 15 Aug 2021 07:06:00 +0000 (00:06 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 16 Aug 2021 22:45:07 +0000 (00:45 +0200)
commit444cabe25fa80474b96e7263e9f8e2a81efc2689
tree35562a9fe667679a163c2ec8b36fdc53dbaf15f9
parentd1ac7bf8edba95298ef4522182fd3c54a58e0c7e
libbpf: Re-build libbpf.so when libbpf.map changes

Ensure libbpf.so is re-built whenever libbpf.map is modified.  Without this,
changes to libbpf.map are not detected and versioned symbols mismatch error
will be reported until `make clean && make` is used, which is a suboptimal
developer experience.

Fixes: a960f2042b53 ("libbpf: Verify versioned symbols")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210815070609.987780-8-andrii@kernel.org
tools/lib/bpf/Makefile