mirror: Adjust Makefile to use libbpf's mirror

Bpftool heavily relies on libbpf to handle BPF objects. In the kernel
repository, it relies on the libbpf version shipped with the kernel. In
the current repository, this is not the case, because it would require
mirroring and keeping in sync all the files from libbpf. There is
already a mirror for libbpf: let's reuse it with libbpf. This commit
adjust the Makefile accordingly.

Note that we could theoretically require users to independently install
libbpf (and the developement headers) on their system instead, but it
happens frequently that bpftool relies on the latest features from the
library, and it is easier to work on up-to-date sources and build the
libary locally before buildling bpftool.

Because we haven't added libbpf sources yet, bpftool does not compile at
this stage, unless the libbpf mirror is copied at the root of the
repository.

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
1 file changed
tree: 3b7744c2bc69dfbc9fbe0bb0a41ceffd1ea9cbdb
  1. bash-completion/
  2. docs/
  3. include/
  4. src/