]> 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)
commit3bbe8441c6fd1b56e07e4de44829bbdb47a7177b
tree35562a9fe667679a163c2ec8b36fdc53dbaf15f9
parentc0f36c5cd5da8dc76f7e4cc85c8a716e5553aedf
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: 3228537f8105 ("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