Fix running qemu with aarch64 on MacOS

This commit is contained in:
Will Angenent 2023-04-29 15:27:20 +01:00
parent a2cec65548
commit 025cf84c86

View file

@ -108,6 +108,10 @@ ifeq ($(UNAME),Linux)
endif endif
endif endif
ifeq ($(UNAME),Darwin)
QEMUFLAGS+=-cpu $(QEMU_CPU)
endif
ifeq ($(UNAME),Linux) ifeq ($(UNAME),Linux)
$(BUILD)/extra.img: $(BUILD)/extra.img:
fallocate --posix --length 1G $@ fallocate --posix --length 1G $@