samples/bpf: Add BTF build flags to Makefile
authorTaeung Song <treeze.taeung@gmail.com>
Thu, 26 Jul 2018 10:13:44 +0000 (19:13 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 27 Jul 2018 01:50:19 +0000 (03:50 +0200)
commit9778cfdfc9d94396d1464630073d696cdea84037
treeedb359c4db0876bb786c6c9232f3f6a1e1ff045f
parent598135e7444c121f11c8c16495ba1e6ab122678f
samples/bpf: Add BTF build flags to Makefile

To smoothly test BTF supported binary on samples/bpf,
let samples/bpf/Makefile probe llc, pahole and
llvm-objcopy for BPF support and use them
like tools/testing/selftests/bpf/Makefile
changed from the commit c0fa1b6c3efc ("bpf: btf:
Add BTF tests").

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/bpf/Makefile