Skip to content

Commit

Permalink
build: change the default build target to Raspberry Pi 4
Browse files Browse the repository at this point in the history
  • Loading branch information
kkebo committed Aug 14, 2024
1 parent d9507a6 commit 102cdb4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ swift:

.PHONY: run
run: all
$(QEMU) -machine raspi3b -kernel $(IMG) -serial stdio -display none
$(QEMU) -machine raspi4b -kernel $(IMG) -serial stdio -display none

.PHONY: clean
clean:
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let package = Package(
"Support",
],
swiftSettings: swiftSettings + [
.define("RASPI3")
.define("RASPI4")
]
),
.systemLibrary(name: "Volatile"),
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ An operating system written in Swift.
- Fedora: `sudo dnf install llvm`
- Ubuntu: `sudo apt install llvm`
- macOS: `brew install llvm` and add `/opt/homebrew/opt/llvm/bin` to your `$PATH`
- QEMU
- QEMU 9.0+
- Arch Linux: `sudo pacman -S qemu-system-aarch64`
- Fedora: `sudo dnf install qemu-system-aarch64-core`
- Ubuntu: `sudo apt install qemu-system-arm`
Expand Down

0 comments on commit 102cdb4

Please sign in to comment.