]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Add 'install' target to Makefile
authorPekka Enberg <penberg@kernel.org>
Fri, 17 Aug 2012 07:51:05 +0000 (10:51 +0300)
committerPekka Enberg <penberg@kernel.org>
Fri, 17 Aug 2012 07:51:05 +0000 (10:51 +0300)
commit3c8ef41661c84bc8c96ae120b65fc0a8f4f8029f
tree628428f74de1049e72b25a6762ac7ee17b5c633d
parent5237debb8b3955ac096d2d144360b45605d8827c
kvm tools: Add 'install' target to Makefile

Add a new 'install' target to Makefile that installs 'lkvm' binary to
$HOME/bin by default. The installed binary still needs to be launched
from linux/tools/kvm directory because of our silly external dependency
to stage 2 guest init file:

  [penberg@tux ~]$ lkvm run
    Fatal: Failed linking stage 2 of init.

The most convinent way to fix that is to embed the stage 2 image in
'lkvm' executable like we do with our mini-BIOS.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile