mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-26 12:09:02 +00:00
core: update build instructions
This commit is contained in:
parent
917f5c6534
commit
b89d1db0e4
@ -5,8 +5,8 @@
|
|||||||
Run the following to checkout the project:
|
Run the following to checkout the project:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone --recursive https://github.com/trezor/trezor-core.git
|
git clone --recursive https://github.com/trezor/trezor-firmware.git
|
||||||
cd trezor-core
|
cd trezor-firmware/core
|
||||||
```
|
```
|
||||||
|
|
||||||
If you are building from an existing checkout, don't forget to use the following to refresh the submodules:
|
If you are building from an existing checkout, don't forget to use the following to refresh the submodules:
|
||||||
@ -41,6 +41,14 @@ Install the required packages, depending on your operating system.
|
|||||||
sudo pacman -S scons sdl2 sdl2_image
|
sudo pacman -S scons sdl2 sdl2_image
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* __NixOS__:
|
||||||
|
|
||||||
|
There is a `shell.nix` file in the root of the project. Just run the following **before** entering the `core` directory:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nix-shell
|
||||||
|
```
|
||||||
|
|
||||||
* __Mac OS X__:
|
* __Mac OS X__:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
Loading…
Reference in New Issue
Block a user