mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-04 20:09:17 +00:00
Update qemu-disk.img to qemu-disk.qcow2 in Makefile
This commit is contained in:
8
Makefile
8
Makefile
@ -28,7 +28,7 @@ QEMUFLAGS += -device vmware-svga -M q35 \
|
|||||||
-device ahci,id=ahci \
|
-device ahci,id=ahci \
|
||||||
-drive id=bootdsk,file=$(OSNAME).iso,format=raw,if=none \
|
-drive id=bootdsk,file=$(OSNAME).iso,format=raw,if=none \
|
||||||
-device ide-hd,drive=bootdsk,bus=ahci.0 \
|
-device ide-hd,drive=bootdsk,bus=ahci.0 \
|
||||||
-drive id=disk,file=qemu-disk.img,format=raw,if=none \
|
-drive id=disk,file=qemu-disk.qcow2,if=none \
|
||||||
-device ide-hd,drive=disk,bus=ahci.1 \
|
-device ide-hd,drive=disk,bus=ahci.1 \
|
||||||
-audiodev pa,id=pa1,server=/run/user/1000/pulse/native \
|
-audiodev pa,id=pa1,server=/run/user/1000/pulse/native \
|
||||||
-machine pcspk-audiodev=pa1 \
|
-machine pcspk-audiodev=pa1 \
|
||||||
@ -76,10 +76,10 @@ doxygen:
|
|||||||
doxygen Drivers/Doxyfile
|
doxygen Drivers/Doxyfile
|
||||||
|
|
||||||
qemu_vdisk:
|
qemu_vdisk:
|
||||||
ifneq (,$(wildcard ./qemu-disk.img))
|
ifneq (,$(wildcard ./qemu-disk.qcow2))
|
||||||
$(info qemu-disk.img Already exists)
|
$(info qemu-disk.qcow2 Already exists)
|
||||||
else
|
else
|
||||||
dd if=/dev/zero of=qemu-disk.img bs=1024K count=4000
|
qemu-img create -f qcow2 qemu-disk.qcow2 1G
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Install necessary packages, build cross-compiler etc...
|
# Install necessary packages, build cross-compiler etc...
|
||||||
|
Reference in New Issue
Block a user