Skip to content

Commit

Permalink
Easier Makefile commands
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderlewis committed Jan 28, 2025
1 parent 7600093 commit e4cbffb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ All notable changes to Wildflower after the MOROS fork will be documented in thi
- Dependency Updates
- Wildflower Branding
- HFS (Hidden File System)
- Easier Makefile commands
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,13 @@ pkg:
clean:
cargo clean
rm -f www/*.html www/images/*.png

build:
make image output=video keyboard=qwerty

wfos:
make qemu output=video nic=rtl8139

all:
make build
make wfos
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ to 2020, but it also runs well on most emulators (Bochs, QEMU, and VirtualBox).
## Running
```sh
cargo install bootimage # If you haven't already
make image output=video keyboard=qwerty
make qemu output=video nic=rtl8139
make all
install # Do this once the emulator is running
# Choose /dev/ata/0/0 as the disk
```
4 changes: 2 additions & 2 deletions src/usr/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ fn dispatch(args: &[&str], config: &mut Config) -> Result<(), ExitCode> {
"dhcp" => usr::dhcp::main(args),
"diff" => usr::diff::main(args),
"disk" => usr::disk::main(args),
"edit" => usr::edit::main(args),
"edit" | "nano" => usr::edit::main(args),
"elf" => usr::elf::main(args),
"encode" => usr::encode::main(args),
"env" => usr::env::main(args),
Expand All @@ -548,7 +548,7 @@ fn dispatch(args: &[&str], config: &mut Config) -> Result<(), ExitCode> {
"pci" => usr::pci::main(args),
"pi" => usr::pi::main(args),
"quit" => Err(ExitCode::ShellExit),
"read" => usr::read::main(args),
"read" | "cat" => usr::read::main(args),
"render" => usr::render::main(args),
"set" => cmd_set(args, config),
"shell" => usr::shell::main(args),
Expand Down

0 comments on commit e4cbffb

Please sign in to comment.