diff mbox series

[2/3] sdk-manual: correctly describe separate build-sysroots tasks in direct sdk workflows

Message ID 20240318150211.1192651-2-alex@linutronix.de
State New
Headers show
Series [1/3] dev-manual: improve descriptions of 'bitbake -S printdiff' | expand

Commit Message

Alexander Kanavin March 18, 2024, 3:02 p.m. UTC
They were separated in
https://git.yoctoproject.org/poky/commit/?id=63e53fb8b60d38315015844bd3357fa1649cd639

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 documentation/sdk-manual/extensible.rst | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Michael Opdenacker March 19, 2024, 9:31 a.m. UTC | #1
Hi Alex,

On 3/18/24 at 16:02, Alexander Kanavin wrote:
> They were separated in
> https://git.yoctoproject.org/poky/commit/?id=63e53fb8b60d38315015844bd3357fa1649cd639
>
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> ---
>   documentation/sdk-manual/extensible.rst | 8 ++++++--
>   1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/documentation/sdk-manual/extensible.rst b/documentation/sdk-manual/extensible.rst
> index 05dd527469e..3f6a754d881 100644
> --- a/documentation/sdk-manual/extensible.rst
> +++ b/documentation/sdk-manual/extensible.rst
> @@ -76,7 +76,7 @@ Setting up the Extensible SDK environment directly in a Yocto build
>         $ bitbake meta-ide-support
>         $ bitbake -c populate_sysroot gtk+3
>         # or any other target or native item that the application developer would need
> -      $ bitbake build-sysroots
> +      $ bitbake build-sysroots -c build_native_sysroot && bitbake build-sysroots -c build_target_sysroot
>   
>   Setting up the Extensible SDK from a standalone installer
>   ---------------------------------------------------------
> @@ -1507,8 +1507,12 @@ In this scenario, the Yocto build tooling, e.g. ``bitbake``
>   is directly accessible to build additional items, and it
>   can simply be executed directly::
>   
> +   $ bitbake curl-native
> +   # Add newly built native items to native sysroot
> +   $ bitbake build-sysroots -c build_native_sysroot
>      $ bitbake mesa
> -   $ bitbake build-sysroots
> +   # Add newly built target items to target sysroot
> +   $ bitbake build-sysroots -c build_target_sysroot
>   
>   When using a standalone installer for the Extensible SDK
>   --------------------------------------------------------


Thanks for the patch!
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Merged into master-next.
Cheers
Michael.
diff mbox series

Patch

diff --git a/documentation/sdk-manual/extensible.rst b/documentation/sdk-manual/extensible.rst
index 05dd527469e..3f6a754d881 100644
--- a/documentation/sdk-manual/extensible.rst
+++ b/documentation/sdk-manual/extensible.rst
@@ -76,7 +76,7 @@  Setting up the Extensible SDK environment directly in a Yocto build
       $ bitbake meta-ide-support
       $ bitbake -c populate_sysroot gtk+3
       # or any other target or native item that the application developer would need
-      $ bitbake build-sysroots
+      $ bitbake build-sysroots -c build_native_sysroot && bitbake build-sysroots -c build_target_sysroot
 
 Setting up the Extensible SDK from a standalone installer
 ---------------------------------------------------------
@@ -1507,8 +1507,12 @@  In this scenario, the Yocto build tooling, e.g. ``bitbake``
 is directly accessible to build additional items, and it
 can simply be executed directly::
 
+   $ bitbake curl-native
+   # Add newly built native items to native sysroot
+   $ bitbake build-sysroots -c build_native_sysroot
    $ bitbake mesa
-   $ bitbake build-sysroots
+   # Add newly built target items to target sysroot
+   $ bitbake build-sysroots -c build_target_sysroot
 
 When using a standalone installer for the Extensible SDK
 --------------------------------------------------------