samples/bpf: like LLC also verify and allow redefining CLANG command
authorJesper Dangaard Brouer <brouer@redhat.com>
Thu, 28 Apr 2016 12:21:14 +0000 (14:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2016 18:26:08 +0000 (14:26 -0400)
commitbdefbbf2ecff6efcd253767179a60961aebed9dc
tree101cead89daccb56ee9bcf050e9a6537406e17ce
parentb62a796c109ca0be3e49de620a8ea8248412446d
samples/bpf: like LLC also verify and allow redefining CLANG command

Users are likely to manually compile both LLVM 'llc' and 'clang'
tools.  Thus, also allow redefining CLANG and verify command exist.

Makefile implementation wise, the target that verify the command have
been generalized.

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
samples/bpf/README.rst