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.we...@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

Reply via email to