]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: support build-time checks
authorSasha Levin <levinsasha928@gmail.com>
Mon, 17 Sep 2012 21:40:23 +0000 (23:40 +0200)
committerPekka Enberg <penberg@kernel.org>
Tue, 18 Sep 2012 07:58:32 +0000 (10:58 +0300)
commit3a7d5bc0e3e5cbf2451e026c9a4f1874ab5bbafa
treefc04855729774a572fc7888029dde6094c1d3e6a
parent07eaa970f12ee19d6649cd50d78fcdeed3a7c26b
kvm tools: support build-time checks

Support using build-time check tools when building lkvm. This allows
using tools such as smatch with the same syntax used with kernel
code.

For example, to build with smatch checks, first make sure you have
smatch installed, then run:

make CHECK="smatch -p=kernel" C=1

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile