We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6841a5 commit abfc352Copy full SHA for abfc352
1 file changed
Makefile
@@ -1,3 +1,5 @@
1
+ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
2
+
3
define EXTRA_ARG
4
-device virtio-net,netdev=net0 -netdev user,id=net0,net=192.168.1.0/24,hostfwd=tcp::8080-:80 \
5
-device virtio-net,netdev=net1 -netdev user,id=net1,net=100.0.0.0/24
@@ -67,3 +69,6 @@ uboot-efi:
67
69
-drive if=none,file=$(shell find openwrt-*-squashfs-combined-efi.img),id=hd0 \
68
70
-device virtio-blk-device,drive=hd0 \
71
$(EXTRA_ARG)
72
73
+parted-list:
74
+ parted $(ARGS) unit MiB print
0 commit comments