Fix path to match the CMAKE_SYSROOT path.

This commit is contained in:
Ryan Curtin
2024-10-28 17:50:05 -04:00
parent 7fde2d2e79
commit 51d600e98e
+1 -1
View File
@@ -115,7 +115,7 @@ cmake \
-DBOARD_NAME="RPI2" \
-DCMAKE_CROSSCOMPILE=ON \
-DCMAKE_TOOLCHAIN_FILE=../board/crosscompile-toolchain.cmake \
-DTOOLCHAIN_PREFIX=/path/to/bootlin/toolchain/armv7-eabihf--glibc--stable-2023.08-1/bin/arm-buildroot-linux-gnueabihf- \
-DTOOLCHAIN_PREFIX=/path/to/bootlin/toolchain/armv7-eabihf--glibc--stable-2024.02-1/bin/arm-buildroot-linux-gnueabihf- \
-DCMAKE_SYSROOT=/path/to/bootlin/toolchain/armv7-eabihf--glibc--stable-2024.02-1/arm-buildroot-linux-gnueabihf/sysroot \
../
```