File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,15 @@ PATCHES_DIR := ./patches
3030include $(OSF_BUILDER_DIR ) /Makefile.inc
3131OUT ?= build/$(PLATFORM ) /osf-$(PLATFORM ) .rom
3232
33+ # RNG to avoid DHCP lockups when waiting for entropy
34+ # redirect all the output to the console
35+ QEMU_COMMON_OPTS := -bios $(OUT ) $(QEMU_KVM_OPTS ) \
36+ -m 1024 \
37+ -object rng-random,filename=/dev/urandom,id=rng0 \
38+ -nographic
39+
3340run :
34- ifeq ($(ARCH ) , amd64)
35- sudo qemu-system-$(ARCH) \
36- `# the machine type specified in the coreboot mainboard configuration` \
37- -M q35 \
38- `# use KVM to avail of hardware virtualization extensions` \
39- -enable-kvm \
40- `# the coreboot ROM to run as system firmware` \
41- -bios $(OUT) \
42- `# the amount of RAM in MB` \
43- -m 1024 \
44- `# RNG to avoid DHCP lockups when waiting for entropy` \
45- -object rng-random,filename=/dev/urandom,id=rng0 \
46- `# redirect all the output to the console` \
47- -nographic
41+ ifeq ($(ARCH ) , x86_64)
42+ $(QEMU_SYSTEM) $(QEMU_COMMON_OPTS) \
43+ -M q35
4844endif
You can’t perform that action at this time.
0 commit comments