Makefile: Fix KVM detection to not trigger on weird ass make versions

This commit is contained in:
Nero 2020-10-20 21:03:47 +00:00
parent ca3eebd692
commit 33f4fe37a8

View File

@ -12,11 +12,7 @@ LABEL = $(PRODUCT) $(VERSION)
NASM = nasm
NASM_ARGS = -s -Ilib -DPRODUCT=$(PRODUCT) -DVERSION=$(VERSION)
KVM = $(shell test -w /dev/kvm && echo 1)
ifdef KVM
QEMU_ARGS += --enable-kvm
endif
QEMU_ARGS += $(shell test -w /dev/kvm && echo --enable-kvm)
ifdef DEBUG
ROMS += dprintf.rom