diff options
| author | salmonik <salmonik@tuta.io> | 2026-08-27 18:35:59 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-08-27 18:35:59 +0200 |
| commit | acd0fe1bc38746f36fff24a7497041e5c5010977 (patch) | |
| tree | 5db6335b732409c7f180f8514196c52a7b88f434 /Makefile | |
| parent | GUI: fire-and-forget spawn for /bin/gui binaries (diff) | |
| download | rs-dos-acd0fe1bc38746f36fff24a7497041e5c5010977.tar.gz rs-dos-acd0fe1bc38746f36fff24a7497041e5c5010977.zip | |
scripts: migrate all QEMU/test scripts to single system image
boot.sh: replace esp/ + DISK_IMG with single SYSTEM_IMG on ide.0
(hooks into mksystem.sh --force for auto-staging).
boot-image.sh: delegate to mksystem.sh --chain (build-image.sh deleted).
build-image-release.sh: delegate to mksystem.sh --chain --gpt.
qemu.sh: flexible launcher uses SYSTEM_IMG; --chain flag for
full-chain build.
test-disk.sh: drop ESP_DIR (mksystem.sh stages everything).
test-fault.sh: boot system.img on ide.0 + CRASHLOG stick on ide.1;
replace deleted mkdisk.sh with inline mkfs.fat.
test-gfx.sh: system.img on ide.0, stage via mksystem.sh.
test-mouse.sh: system.img on ide.0, stage via mksystem.sh.
test-msg.sh: system.img on ide.0, stage via mksystem.sh.
Makefile: remove stale build-image.sh/mkdisk.sh references from help;
image target delegates to mksystem.sh --chain.
All scripts syntax-checked (bash -n). build-image.sh and mkdisk.sh
no longer referenced anywhere.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -136,7 +136,7 @@ bootloader: | |||
| 136 | 136 | ||
| 137 | # Build the full boot chain disk image (kernel + bootloader) | 137 | # Build the full boot chain disk image (kernel + bootloader) |
| 138 | image: all | 138 | image: all |
| 139 | ./scripts/build-image.sh rs-dos.img | 139 | ./scripts/mksystem.sh --chain rs-dos.img |
| 140 | 140 | ||
| 141 | # Boot the full chain disk image (builds it first if needed) | 141 | # Boot the full chain disk image (builds it first if needed) |
| 142 | boot-image: all | 142 | boot-image: all |
| @@ -168,11 +168,9 @@ help: | |||
| 168 | @echo " make fmt format Rust source" | 168 | @echo " make fmt format Rust source" |
| 169 | @echo " ./scripts/mksystem.sh build the dd-able system image" | 169 | @echo " ./scripts/mksystem.sh build the dd-able system image" |
| 170 | @echo " ./scripts/boot.sh quick direct boot (dev loop)" | 170 | @echo " ./scripts/boot.sh quick direct boot (dev loop)" |
| 171 | @echo " ./scripts/mkdisk.sh create/re-format the data disk" | ||
| 172 | @echo " ./scripts/test-disk.sh automated disk round trip" | 171 | @echo " ./scripts/test-disk.sh automated disk round trip" |
| 173 | @echo " ./scripts/sendkeys.py type into QEMU via the monitor" | 172 | @echo " ./scripts/sendkeys.py type into QEMU via the monitor" |
| 174 | @echo " ./scripts/boot-image.sh boot full chain (builds if needed)" | 173 | @echo " ./scripts/boot-image.sh boot full chain (builds if needed)" |
| 175 | @echo " ./scripts/build-image.sh build full chain disk image" | ||
| 176 | @echo " ./scripts/build-bootloader.sh build rsboot from source" | 174 | @echo " ./scripts/build-bootloader.sh build rsboot from source" |
| 177 | @echo " ./scripts/qemu.sh flexible QEMU launcher" | 175 | @echo " ./scripts/qemu.sh flexible QEMU launcher" |
| 178 | @echo " ./scripts/debug-kernel.py GDB plugin (attach after 'make debug')" | 176 | @echo " ./scripts/debug-kernel.py GDB plugin (attach after 'make debug')" |
