mirror of
https://github.com/hamishcoleman/thinkpad-ec
synced 2024-11-04 06:00:12 +00:00
Allow to configure QEMU_OPTIONS to disable -enable-kvm
Not all environments have access to KVM support. For example if you already work inside a VM (Qubes OS).
This commit is contained in:
parent
61cdddaa9a
commit
241b00df51
6
Makefile
6
Makefile
@ -10,6 +10,8 @@ all: list_laptops
|
||||
|
||||
.PHONY: all
|
||||
|
||||
QEMU_OPTIONS ?= -enable-kvm
|
||||
|
||||
GITVERSION = $(shell git describe --dirty --abbrev=6 ) ($(shell date +%Y%m%d))
|
||||
BUILDINFO = $(GITVERSION) $(MAKECMDGOALS)
|
||||
|
||||
@ -269,10 +271,10 @@ endef
|
||||
|
||||
# simple testing of images in an emulator
|
||||
%.iso.test: %.iso
|
||||
qemu-system-x86_64 -enable-kvm -cdrom $<
|
||||
qemu-system-x86_64 $(QEMU_OPTIONS) -cdrom $<
|
||||
|
||||
%.img.test: %.img
|
||||
qemu-system-x86_64 -enable-kvm -hda $<
|
||||
qemu-system-x86_64 $(QEMU_OPTIONS) -hda $<
|
||||
|
||||
mec-tools/Makefile:
|
||||
git submodule update --init --remote
|
||||
|
Loading…
Reference in New Issue
Block a user