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 = nasm
|
||||||
NASM_ARGS = -s -Ilib -DPRODUCT=$(PRODUCT) -DVERSION=$(VERSION)
|
NASM_ARGS = -s -Ilib -DPRODUCT=$(PRODUCT) -DVERSION=$(VERSION)
|
||||||
|
|
||||||
KVM = $(shell test -w /dev/kvm && echo 1)
|
QEMU_ARGS += $(shell test -w /dev/kvm && echo --enable-kvm)
|
||||||
|
|
||||||
ifdef KVM
|
|
||||||
QEMU_ARGS += --enable-kvm
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef DEBUG
|
ifdef DEBUG
|
||||||
ROMS += dprintf.rom
|
ROMS += dprintf.rom
|
||||||
|
Loading…
Reference in New Issue
Block a user