Skip to content

Commit

Permalink
Merge pull request #32 from schaecsn/crosscompile
Browse files Browse the repository at this point in the history
Bundled Crosscompiler coexist with Distribution Crosscompiler
  • Loading branch information
gamelaster authored Oct 29, 2020
2 parents d54b64b + 871018e commit 156070d
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 156070d

Please sign in to comment.