-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,26 @@ | ||
|
||
# Instructions for getting the build running on MacOS | ||
# Instructions for getting the build of the security monitor running on MacOS | ||
|
||
1. Install the Risc-V toolchain. | ||
|
||
2. environment variables | ||
TODO see diff | ||
1. Install basic dependencies. | ||
``` | ||
brew install coreutils # to have nproc available | ||
brew install autoconf automake curl python libmpc mpfr gmp gawk flex texinfo libtool bc expat # for OpenSBI build | ||
``` | ||
|
||
3. | ||
2. Install the Risc-V toolchain. | ||
``` | ||
# https://github.com/riscv-software-src/homebrew-riscv | ||
brew tap riscv-software-src/riscv | ||
brew install riscv-gnu-toolchain | ||
``` | ||
|
||
3. Source environment variables. | ||
``` | ||
source macos_env | ||
``` | ||
|
||
4. Build the security monitor: | ||
``` | ||
make security_monitor | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters