Makefile: Fix KVM detection to not trigger on weird ass make versions
This commit is contained in:
parent
ca3eebd692
commit
33f4fe37a8
6
Makefile
6
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user