mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-10-06 06:50:19 +00:00
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:
parent
d54b64bd30
commit
871018e6a1
@ -21,6 +21,13 @@ Then go to the sample directory of interest and call `make`, for example:
|
|||||||
cd customer_app/bl602_boot2
|
cd customer_app/bl602_boot2
|
||||||
make
|
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`.
|
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:
|
To run this, you need to specify the application and the target, for example:
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user