Bundled Crosscompiler coexist with Distribution Crosscompiler

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.
This commit is contained in:
Stefan Schaeckeler 2020-10-28 19:39:42 -07:00
parent d54b64bd30
commit 871018e6a1

View File

@ -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:
```