Skip to content

Commit

Permalink
Merge pull request tock#4288 from tock/minor-qemu-fix
Browse files Browse the repository at this point in the history
QEMU Makefile Fixes for 9.2.0
  • Loading branch information
lschuermann authored Jan 3, 2025
2 parents 038222d + e6d3e7c commit 585d360
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boards/qemu_rv32_virt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ else
endif

ifeq ($(NETDEV),NONE)
QEMU_NETDEV_CMDLINE = ""
QEMU_NETDEV_CMDLINE =
else ifeq ($(NETDEV),SLIRP)
QEMU_NETDEV_CMDLINE = \
-netdev user,id=n0,net=192.168.1.0/24,dhcpstart=192.168.1.255$(NETDEV_SLIRP_ARGS_INT) \
Expand Down Expand Up @@ -74,7 +74,7 @@ QEMU_BASE_CMDLINE := \
.PHONY: run
run: $(TOCK_ROOT_DIRECTORY)target/$(TARGET)/release/$(PLATFORM).elf
@echo
@echo -e "Running $$(qemu-system-riscv32 --version | head -n1)"\
@echo -e "Running $$($(QEMU_CMD) --version | head -n1)"\
"(tested: $(WORKING_QEMU_VERSION)) with\n"\
" - kernel $(TOCK_ROOT_DIRECTORY)target/$(TARGET)/release/$(PLATFORM).elf"
@echo "To exit type C-a x"
Expand All @@ -87,7 +87,7 @@ run: $(TOCK_ROOT_DIRECTORY)target/$(TARGET)/release/$(PLATFORM).elf
.PHONY: run-app
run-app: $(TOCK_ROOT_DIRECTORY)target/$(TARGET)/release/$(PLATFORM).elf
@echo
@echo -e "Running $$(qemu-system-riscv32 --version | head -n1)"\
@echo -e "Running $$($(QEMU_CMD) --version | head -n1)"\
"(tested: $(WORKING_QEMU_VERSION)) with\n"\
" - kernel $(TOCK_ROOT_DIRECTORY)target/$(TARGET)/release/$(PLATFORM).elf\n"\
" - app $(APP)"
Expand Down

0 comments on commit 585d360

Please sign in to comment.