mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
kvmtool: add kvmtool module
Signed-off-by: Trammell hudson <hudson@trmm.net>
This commit is contained in:
parent
2980eb0522
commit
f89c8973bf
1
Makefile
1
Makefile
@ -412,6 +412,7 @@ endef
|
||||
# Shouldn't this be specified in the module file?
|
||||
bin_modules-$(CONFIG_KEXEC) += kexec
|
||||
bin_modules-$(CONFIG_TPMTOTP) += tpmtotp
|
||||
bin_modules-$(CONFIG_KVMTOOL) += kvmtool
|
||||
bin_modules-$(CONFIG_PCIUTILS) += pciutils
|
||||
bin_modules-$(CONFIG_FLASHROM) += flashrom
|
||||
bin_modules-$(CONFIG_CRYPTSETUP) += cryptsetup
|
||||
|
36
modules/kvmtool
Normal file
36
modules/kvmtool
Normal file
@ -0,0 +1,36 @@
|
||||
# Linux KVM launcher
|
||||
# This only makes sense if you also define CONFIG_LINUX_KVM.
|
||||
# You probably also want CONFIG_LINUX_VIRTIO
|
||||
modules-$(CONFIG_KVMTOOL) += kvmtool
|
||||
|
||||
ifneq "$(CONFIG_LINUX_VIRTIO)" "y"
|
||||
$(warn "$(BOARD): kvmtool included without CONFIG_LINUX_VIRTIO")
|
||||
endif
|
||||
ifneq "$(CONFIG_LINUX_KVM)" "y"
|
||||
$(error "$(BOARD): kvmtool included without CONFIG_LINUX_KVM")
|
||||
endif
|
||||
|
||||
kvmtool_depends := mbedtls $(musl_dep)
|
||||
|
||||
#kvmtool_version := git
|
||||
#kvmtool_repo := https://github.com/osresearch/kvmtool
|
||||
|
||||
kvmtool_version := 0e1882a
|
||||
kvmtool_dir := kvmtool-$(kvmtool_version)
|
||||
kvmtool_tar := kvmtool-$(kvmtool_version).tar.gz
|
||||
kvmtool_url := https://github.com/kvmtool/kvmtool/archive/$(kvmtool_version).tar.gz
|
||||
kvmtool_hash := bf58194ab5c4ff7abdad48150d54c52c0e8bee485084e3f09adb9eec023756b8
|
||||
|
||||
kvmtool_target := \
|
||||
$(CROSS_TOOLS) \
|
||||
ARCH_HAS_FRAMEBUFFER=n \
|
||||
V=1
|
||||
#CPPFLAGS="-I$(INSTALL)/include" \
|
||||
#LDFLAGS="-L$(INSTALL)/lib" \
|
||||
|
||||
kvmtool_output := \
|
||||
lkvm \
|
||||
|
||||
kvmtool_libraries := \
|
||||
|
||||
kvmtool_configure :=
|
Loading…
Reference in New Issue
Block a user