menios
menios copied to clipboard
Extract runtime and launch targets to mk/runtime/run.mk
Parent Issue
Part of #352 - Makefile refactoring
Objective
Keep launch targets like run, console, shell, and QEMU configuration together in a dedicated runtime file.
Scope
Extract from root Makefile:
- Lines ~234: Launch target definitions
- Lines ~321: Console/shell targets
- Lines ~695: QEMU configuration and runtime setup
- Related runtime environment variables
Target Location
mk/runtime/run.mk
Implementation Steps
- Create
mk/runtime/directory structure - Extract QEMU configuration variables
- Move run/console/shell target definitions
- Update root Makefile to
include mk/runtime/run.mk - Test
make run,make console,make shell - Verify QEMU launches correctly
Dependencies
- #356 (kernel build - runtime needs kernel image)
Acceptance Criteria
- [ ] All runtime targets in mk/runtime/run.mk
- [ ]
make runworks correctly - [ ]
make consoleandmake shellwork - [ ] QEMU configuration is clear and accessible
- [ ] No behavioral changes