]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
samples: bpf: move libbpf from object dependencies to libs
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 15 May 2018 05:35:05 +0000 (22:35 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 15 May 2018 05:52:10 +0000 (22:52 -0700)
commit0cc54db1818ad38f400be9f24871f3b7bf09e911
tree6652a4d8b5c9530641a1372032ff1f17aa0b98f0
parent787360f8c2b87d4ae4858bb8736a19c289904885
samples: bpf: move libbpf from object dependencies to libs

Make complains that it doesn't know how to make libbpf.a:

scripts/Makefile.host:106: target 'samples/bpf/../../tools/lib/bpf/libbpf.a' doesn't match the target pattern

Now that we have it as a dependency of the sources simply add libbpf.a
to libraries not objects.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
samples/bpf/Makefile