README: Update installation instruction (still work with previous ones but just to encourage users to switch).

This commit is contained in:
Florent Kermarrec 2021-10-26 15:50:40 +02:00
parent f6562195d5
commit 5e2db8e712
1 changed files with 3 additions and 3 deletions

View File

@ -142,11 +142,11 @@ Provides definitions/modules to build cores (bus, bank, flow), cores and tools t
```sh ```sh
$ wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py $ wget https://raw.githubusercontent.com/enjoy-digital/litex/master/litex_setup.py
$ chmod +x litex_setup.py $ chmod +x litex_setup.py
$ ./litex_setup.py init install --user (--user to install to user directory) $ ./litex_setup.py --init --install --user (--user to install to user directory)
``` ```
Later, if you need to update all repositories: Later, if you need to update all repositories:
```sh ```sh
$ ./litex_setup.py update $ ./litex_setup.py --update
``` ```
> **Note:** On MacOS, make sure you have [HomeBrew](https://brew.sh) installed. Then do, ``brew install wget``. > **Note:** On MacOS, make sure you have [HomeBrew](https://brew.sh) installed. Then do, ``brew install wget``.
@ -156,7 +156,7 @@ $ ./litex_setup.py update
3. Install a RISC-V toolchain (Only if you want to test/create a SoC with a CPU): 3. Install a RISC-V toolchain (Only if you want to test/create a SoC with a CPU):
```sh ```sh
$ pip3 install meson ninja $ pip3 install meson ninja
$ ./litex_setup.py gcc $ ./litex_setup.py --gcc=riscv
``` ```
4. Build the target of your board...: 4. Build the target of your board...: