]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
doc: board/qualcomm: Fix commands for compilation missing CROSS_COMPILE
authorLuca Weiss <luca.weiss@fairphone.com>
Wed, 11 Jun 2025 11:51:23 +0000 (13:51 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 24 Jun 2025 13:54:51 +0000 (07:54 -0600)
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@fairphone.com>
Reviewed-by: Casey Connolly <casey.connolly@linaro.org>
Link: https://lore.kernel.org/r/20250611-qualcomm-doc-update-v1-1-5cf8cd94974d@fairphone.com
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
doc/board/qualcomm/board.rst

index 003d59a18ebd3f19db568fa59e9fd06906e209f2..64427ba5be793978f54dd51c2b24e55fcd78ea8f 100644 (file)
@@ -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::