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)
commit7b01dd5793394ee2ef47c328b28c30f5c01107c9
tree8ec412e7697255f51eae0cebd92600cbbbfd8dbb
parent6ccfba75d3137efc3b665a337b946fd6df1162b9
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