summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorE Shattow <[email protected]>2026-03-05 12:56:40 -0800
committerLeo Yu-Chi Liang <[email protected]>2026-03-17 01:36:57 +0800
commit24662f698f5ad6f444e6dc437c0b5a932726a6ef (patch)
treee8c6df06142a4e31336e2b73701ec04792ba59e7 /doc
parent3ff56c603a660bd14d70f5109071b3c2605539d7 (diff)
doc: board: starfive: jh7110 common give build output dir by env not arg
Describe build with output directory as O=<dir> environment variable and not unrelated -O <output sync> command line argument. Fixes: 8304f3226700 ("doc: board: starfive: update jh7110 common description") Signed-off-by: E Shattow <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r--doc/board/starfive/jh7110_common.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/board/starfive/jh7110_common.rst b/doc/board/starfive/jh7110_common.rst
index 77102fcc189..b0b60da0dc3 100644
--- a/doc/board/starfive/jh7110_common.rst
+++ b/doc/board/starfive/jh7110_common.rst
@@ -162,8 +162,8 @@ Build U-Boot
git -C opensbi.git checkout v1.7
# always clean build directory when building OpenSBI due to incomplete
# dependency tracking
- make -C opensbi.git -O opensbi clean
- make -C opensbi.git -O opensbi PLATFORM=generic
+ make -C opensbi.git O=opensbi clean
+ make -C opensbi.git O=opensbi PLATFORM=generic
4. Now build the First Stage BootLoader (U-Boot Secondary Program Loader) and
Second Boot Loader (OpenSBI + U-Boot Main):
@@ -171,9 +171,9 @@ Build U-Boot
.. code-block:: console
git clone https://source.denx.de/u-boot/u-boot.git u-boot.git
- make -C u-boot.git -O u-boot starfive_visionfive2_defconfig
+ make -C u-boot.git O=u-boot starfive_visionfive2_defconfig
export OPENSBI=opensbi/build/platform/generic/firmware/fw_dynamic.bin
- make -C u-boot.git -O u-boot
+ make -C u-boot.git O=u-boot
This will generate the U-Boot SPL image object post-processed with StarFive
SPL headers (u-boot/spl/u-boot-spl.bin.normal.out) as well as the FIT image
@@ -191,7 +191,7 @@ Build U-Boot
--set-val SPL_DEBUG_UART_BASE 0x10000000 \
--set-val DEBUG_UART_SHIFT 2
- make -C u-boot.git -O u-boot olddefconfig
+ make -C u-boot.git O=u-boot olddefconfig
Boot description
----------------