]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: BPF object files should depend only on libbpf headers
authorAndrii Nakryiko <andriin@fb.com>
Thu, 20 Aug 2020 23:12:35 +0000 (16:12 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 21 Aug 2020 22:40:22 +0000 (15:40 -0700)
commita3a7627d1c522731b384383a267393c1163e0192
treea3b4e0abcd4ac176ae689d55012fd93bf9b9ea00
parentfed6a2ef2abc81a4e5338c63173afa59b0766c2c
selftests/bpf: BPF object files should depend only on libbpf headers

There is no need to re-build BPF object files if any of the sources of libbpf
change. So record more precise dependency only on libbpf/bpf_*.h headers. This
eliminates unnecessary re-builds.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200820231250.1293069-2-andriin@fb.com
tools/testing/selftests/bpf/Makefile