This commit is contained in:
2021-07-14 16:35:19 +02:00
parent fda1462b70
commit 421b36b64b
5 changed files with 19 additions and 28 deletions

View File

@ -232,7 +232,7 @@ These prerequisites are valid for Linux as well as Windows hosts.
It is recommended to set the following environmental variables for the CMake build:
- `CROSS_COMPILE`: Explicitely specify the name of the cross compiler
- `BBB_ROOTFS`: Explicitely set the path to the local BBB rootfs
- `LINUX_ROOTFS`: Explicitely set the path to the local BBB rootfs
For example with the following commands
@ -244,7 +244,7 @@ It is recommended to test whether the environmental variables were set correctly
for example by running
```sh
echo $BBB_ROOTFS
echo $LINUX_ROOTFS
```
These variables can either be set every time before a debugging session to

View File

@ -258,14 +258,14 @@ cross-compile a toolchain yourself by following the steps in the
It is recommended to set the following environmental variables for the CMake build:
- `CROSS_COMPILE`: Explicitely specify the name of the cross compiler
- `RASPBERRY_VERSION`: Explicitely specify the version of the Raspberry Pi
- `RASPBIAN_ROOTFS`: Explicitely set the path to the local RPi rootfs
- `LINUX_ROOTFS`: Explicitely set the path to the local RPi rootfs
For example with the following commands
```sh
export CROSS_COMPILE="arm-linux-gnueabihf"
export RASPBERRY_VERSION="4"
export RASPBIAN_ROOTFS="<pathToRootFS>"
export LINUX_ROOTFS="<pathToRootFS>"
```
It is recommended to test whether the environmental variables were set correctly,