From 6746e81ba62556efea0d74b14985edd6c1eb6fda Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Wed, 11 Jun 2025 13:51:23 +0200 Subject: [PATCH] doc: board/qualcomm: Fix commands for compilation missing CROSS_COMPILE 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 Reviewed-by: Casey Connolly Link: https://lore.kernel.org/r/20250611-qualcomm-doc-update-v1-1-5cf8cd94974d@fairphone.com Signed-off-by: Casey Connolly --- 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 003d59a18eb..64427ba5be7 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.47.2