]> git.baikalelectronics.ru Git - kernel.git/commit
samples/bpf: Makefile verify LLVM compiler avail and bpf target is supported
authorJesper Dangaard Brouer <brouer@redhat.com>
Thu, 28 Apr 2016 12:20:58 +0000 (14:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2016 18:25:32 +0000 (14:25 -0400)
commit9212b33938b922fd8679a8838b47fb61fdf3c254
tree8ec412e7697255f51eae0cebd92600cbbbfd8dbb
parentc11a6762302848dc4cb0b6d0d031ad3814a28b3a
samples/bpf: Makefile verify LLVM compiler avail and bpf target is supported

Make compiling samples/bpf more user friendly, by detecting if LLVM
compiler tool 'llc' is available, and also detect if the 'bpf' target
is available in this version of LLVM.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/Makefile