[PATCH 1/3] doc: board/qualcomm: Fix commands for compilation missing CROSS_COMPILE
Luca Weiss
luca.weiss at fairphone.com
Wed Jun 11 13:51:23 CEST 2025
One needs to set CROSS_COMPILE also for the actual compilation, not just
for the kconfig step, otherwise the host arch compiler would be used.
Signed-off-by: Luca Weiss <luca.weiss at fairphone.com>
---
doc/board/qualcomm/board.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/board/qualcomm/board.rst b/doc/board/qualcomm/board.rst
index 003d59a18ebd3f19db568fa59e9fd06906e209f2..64427ba5be793978f54dd51c2b24e55fcd78ea8f 100644
--- a/doc/board/qualcomm/board.rst
+++ b/doc/board/qualcomm/board.rst
@@ -88,12 +88,12 @@ As above::
Or for db410c (and other boards not supported by the generic target)::
make CROSS_COMPILE=aarch64-linux-gnu- O=.output dragonboard410c_defconfig
- make O=.output -j$(nproc)
+ make CROSS_COMPILE=aarch64-linux-gnu- O=.output -j$(nproc)
Or for smartphones::
make CROSS_COMPILE=aarch64-linux-gnu- O=.output qcom_defconfig qcom-phone.config
- make O=.output -j$(nproc)
+ make CROSS_COMPILE=aarch64-linux-gnu- O=.output -j$(nproc)
- gzip u-boot::
--
2.49.0
More information about the U-Boot
mailing list