mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-24 15:31:22 +01:00
Makefile: Rename CROSS_COMPILE to CROSS_COMPILE_PREFIX
Make it clear what this environment variable defines and update the README.md file to explain that. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
This commit is contained in:
@@ -28,8 +28,9 @@ We can create three things using the RISC-V OpenSBI project:
|
||||
How to Build?
|
||||
-------------
|
||||
|
||||
For cross-compiling, please ensure that CROSS_COMPILE environment
|
||||
variable is set before starting build system.
|
||||
For cross-compiling, the environment variable CROSS_COMPILE_PREFIX must be
|
||||
defined to specify the toolchain executable name prefix, e.g.
|
||||
"riscv64-unknown-elf-" for riscv64-unknown-elf-gcc.
|
||||
|
||||
The libplatsbi.a and firmwares are optional and only built when
|
||||
`PLATFORM=<platform_subdir>` parameter is specified to top-level make.
|
||||
@@ -78,4 +79,4 @@ We also prefer source level documentation, so wherever possible we describe
|
||||
stuff directly in the source code. This helps us maintain source and its
|
||||
documentation at the same place. For source level documentation we strictly
|
||||
follow Doxygen style. Please refer [Doxygen manual]
|
||||
(http://www.stack.nl/~dimitri/doxygen/manual.html) for details.
|
||||
(http://www.stack.nl/~dimitri/doxygen/manual.html) for details.
|
||||
|
Reference in New Issue
Block a user