Skip to content

Commit

Permalink
Bundled Crosscompiler coexist with Distribution Crosscompiler
Browse files Browse the repository at this point in the history
Not everyone has or want to install their own crosscompiler.
Not everyone wants to run a crosscompiler distributed as a binary.

Give instructions on how the bundled crosscompiler can co-exist with the
distribution crosscompiler.
  • Loading branch information
schaecsn committed Oct 29, 2020
1 parent d54b64b commit 871018e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ Then go to the sample directory of interest and call `make`, for example:
cd customer_app/bl602_boot2
make
```
Call
```
make CONFIG_TOOLPREFIX=riscv64-linux-gnu-
```
for bypassing the bundled crosscompiler and using your distribution's own crosscompiler.


There is a linker script (written in python) at `image_conf/flash_build.py`.
To run this, you need to specify the application and the target, for example:
```
Expand Down

0 comments on commit 871018e

Please sign in to comment.