mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +00:00
makefile: no longer hardcode jinx version and add boot order
This commit is contained in:
@@ -9,7 +9,7 @@ rebuildkernel:
|
|||||||
LDFLAGS="" CFLAGS="" ./jinx rebuild astral
|
LDFLAGS="" CFLAGS="" ./jinx rebuild astral
|
||||||
make sysdisk.iso
|
make sysdisk.iso
|
||||||
jinx:
|
jinx:
|
||||||
curl https://raw.githubusercontent.com/mintsuki/jinx/4c399d071759e811dc0bae01f92163412742c0f1/jinx > jinx
|
curl https://raw.githubusercontent.com/mintsuki/jinx/trunk/jinx
|
||||||
chmod +x jinx
|
chmod +x jinx
|
||||||
|
|
||||||
minimaliso:
|
minimaliso:
|
||||||
@@ -64,7 +64,7 @@ sysdisk.iso: $(ISO)
|
|||||||
nvme.img:
|
nvme.img:
|
||||||
qemu-img create nvme.img 4G -f qcow2
|
qemu-img create nvme.img 4G -f qcow2
|
||||||
|
|
||||||
QEMUFLAGS=-cdrom sysdisk.iso -m 2G -smp cpus=2 -drive file=nvme.img,if=none,id=nvm -device nvme,serial=deadc0ff,drive=nvm
|
QEMUFLAGS=-cdrom sysdisk.iso -m 2G -smp cpus=2 -drive file=nvme.img,if=none,id=nvm -device nvme,serial=deadc0ff,drive=nvm -boot order=dc
|
||||||
run:
|
run:
|
||||||
qemu-system-x86_64 $(QEMUFLAGS) -debugcon stdio
|
qemu-system-x86_64 $(QEMUFLAGS) -debugcon stdio
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user