From 871018e6a177fab00c1f43ca38b9087bad317634 Mon Sep 17 00:00:00 2001 From: Stefan Schaeckeler Date: Wed, 28 Oct 2020 19:39:42 -0700 Subject: [PATCH] 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. --- README.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.rst b/README.rst index 5439ae6a..7a1aeba7 100755 --- a/README.rst +++ b/README.rst @@ -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: ```