Merge pull request #32 from schaecsn/crosscompile

Bundled Crosscompiler coexist with Distribution Crosscompiler
This commit is contained in:
Marek Kraus 2020-10-29 09:05:37 +01:00 committed by GitHub
commit 156070dc16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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