Skip to contentSkip to conversation

doc: board: starfive: jh7110 common give build output dir by env not arg

PATCH In review E Shattow 2 participants 4 messages Mar 5 – Mar 16

lore
Share & tools
lore

E Shattow

author
#0 lore raw

PATCH 1/1 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")
---
 doc/board/starfive/jh7110_common.rst | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
doc/board/starfive/jh7110_common.rst +5 -5
index 77102fcc189..b0b60da0dc3 100644
@@ -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
 ----------------

base-commit: b26cc03b7cecaabdb306c2f68eebde764161a545

Signature · 1 line
2.50.0
author
#1 lore raw
Quoted 25 lines · E Shattow

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")
---
 doc/board/starfive/jh7110_common.rst | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
doc/board/starfive/jh7110_common.rst +2 -2
index 77102fcc189..b0b60da0dc3 100644
@@ -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):

doc/board/starfive/jh7110_common.rst Build U-Boot · line 176

Quoted 7 lines
doc/board/starfive/jh7110_common.rst +1 -1
@@ -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

Oh and what is this OPENSBI directory ? That's not correct, either.

Quoted 15 lines
doc/board/starfive/jh7110_common.rst +1 -1
-       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

doc/board/starfive/jh7110_common.rst +1 -1
@@ -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
 ----------------
Quoted 1 line

base-commit: b26cc03b7cecaabdb306c2f68eebde764161a545

-E

author
#2 lore raw
Quoted 30 lines · E Shattow
Quoted 27 lines · E Shattow

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")
---
 doc/board/starfive/jh7110_common.rst | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
doc/board/starfive/jh7110_common.rst +2 -2
index 77102fcc189..b0b60da0dc3 100644
@@ -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
 
Quoted 8 lines

doc/board/starfive/jh7110_common.rst Build U-Boot

Quoted 5 lines
doc/board/starfive/jh7110_common.rst +1 -1
        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

Oh and what is this OPENSBI directory ? That's not correct, either.

Replying myself, follow-up patch for the OPENSBI path typo is submitted
at: https://lore.kernel.org/u-boot/[email protected]

Quoted 12 lines
Quoted 12 lines
doc/board/starfive/jh7110_common.rst +1 -1
-       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

doc/board/starfive/jh7110_common.rst +1 -1
@@ -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
 
Quoted 6 lines
Quoted 4 lines
doc/board/starfive/jh7110_common.rst +0 -0
 Boot description
 ----------------

base-commit: b26cc03b7cecaabdb306c2f68eebde764161a545

-E

-E

Reviewed-by on v1 1/1
#3 lore raw
In reply to E Shattow
Quoted 8 lines · E Shattow

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")
---
 doc/board/starfive/jh7110_common.rst | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)