Skip to contentSkip to conversation

Make the SDK section not specific to the eSDK

PATCH Superseded Antonin Godard 2 participants 14 messages Jul 29 – Aug 6

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Make the SDK section not specific to the eSDK

While the content of the SDK section covers both the standard and the extensible SDKs, the title only referred to the extensible SDK which is confusing.

This series comes with other various patches to improve this section.

---
Antonin Godard (5):
sdk-manual/appendix-customizing-standard.rst: use code block for bitbake assignment sdk-manual/intro.rst: remove a confusing sentence sdk-manual/intro.rst: link to sysroot term
sdk-manual: rename the section to remove "extensible" sdk-manual/intro.rst: detail differences between standard and extensible sysroots

 documentation/index.rst                            |  2 +-
 .../sdk-manual/appendix-customizing-standard.rst   | 11 ++++----
 documentation/sdk-manual/index.rst                 |  6 ++---
 documentation/sdk-manual/intro.rst                 | 31 +++++++++++++++-------
 4 files changed, 32 insertions(+), 18 deletions(-)

---
base-commit: 41dae3c3da3ada1745fc60228ff6269c64ee2361
change-id: 20260529-sdk-clarifications-9aab0fa9a60e

#1 lore raw

PATCH 1/5 sdk-manual/appendix-customizing-standard.rst: use code block for bitbake assignment

Use a code block for the DISTRO_FEATURES assignment instead of how it appears as regular text currently.

---
 documentation/sdk-manual/appendix-customizing-standard.rst | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
documentation/sdk-manual/appendix-customizing-standard.rst +6 -5
index c619c15e4..90b73dc20 100644
@@ -27,8 +27,9 @@ Adding API Documentation to the Standard SDK
 
 You can include API documentation as well as any other documentation
 provided by recipes with the standard SDK by adding "api-documentation"
-to the
-:term:`DISTRO_FEATURES`
-variable: DISTRO_FEATURES:append = " api-documentation" Setting this
-variable as shown here causes the OpenEmbedded build system to build the
-documentation and then include it in the standard SDK.
+to the :term:`DISTRO_FEATURES` variable::
+
+   DISTRO_FEATURES:append = " api-documentation"
+
+Setting this variable as shown here causes the OpenEmbedded build system to
+build the documentation and then include it in the standard SDK.
Signature · 1 line
2.55.0
Reviewed-by on v1 1/5
#2 lore raw

Re: [docs] [PATCH 1/5] sdk-manual/appendix-customizing-standard.rst: use code block for bitbake assignment

Hi Antonin,

Quoted 3 lines · Antonin Godard via lists.yoctoproject.org

Use a code block for the DISTRO_FEATURES assignment instead of how it appears as regular text currently.

Thanks!
Quentin

#3 lore raw

PATCH 2/5 sdk-manual/intro.rst: remove a confusing sentence

In reply to Antonin Godard

I have a hard time understanding the meaning of this sentence at this point in the manual. populate_sdk and populate_sdk_ext are best known as tasks, so the meaning for them as "archives" is unclear.

---
 documentation/sdk-manual/intro.rst | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
documentation/sdk-manual/intro.rst +1 -3
index dd2902cc4..3e78219fc 100644
@@ -35,9 +35,7 @@ destined to run on some target machine. SDKs are completely
 self-contained. The binaries are linked against their own copy of
 ``libc``, which results in no dependencies on the target system. To
 achieve this, the pointer to the dynamic loader is configured at install
-time since that path cannot be dynamically altered. This is the reason
-for a wrapper around the ``populate_sdk`` and ``populate_sdk_ext``
-archives.
+time since that path cannot be dynamically altered.
 
 Another feature of the SDKs is that only one set of cross-compiler
 toolchain binaries are produced for any given architecture. This feature
Signature · 1 line
2.55.0
Reviewed-by on v1 2/5
#4 lore raw

Re: [docs] [PATCH 2/5] sdk-manual/intro.rst: remove a confusing sentence

Hi Antonin,

Quoted 4 lines · Antonin Godard via lists.yoctoproject.org

I have a hard time understanding the meaning of this sentence at this point in the manual. populate_sdk and populate_sdk_ext are best known as tasks, so the meaning for them as "archives" is unclear.

Same here. Going back in the history, the commit that introduced this in the docs isn't providing much more info, so I guess:

Thanks!
Quentin

#5 lore raw

PATCH 3/5 sdk-manual/intro.rst: link to sysroot term

In reply to Antonin Godard

Link to the definition of a sysroot (from our glossary) when it is first introduced and later in the "Sysroots" section.

---
 documentation/sdk-manual/intro.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
documentation/sdk-manual/intro.rst +2 -2
index 3e78219fc..53246bd9a 100644
@@ -45,7 +45,7 @@ environment script and contained in variables such as
 :term:`CC` and
 :term:`LD`. This reduces the space needed
 for the tools. Understand, however, that every target still needs its own
-sysroot because those binaries are target-specific.
+:term:`sysroot` because those binaries are target-specific.
 
 The SDK development environment consists of the following:
 
@@ -117,7 +117,7 @@ cross-toolchain works with a matching target sysroot.
 Sysroots
 --------
 
-The native and target sysroots contain needed headers and libraries for
+The native and target :term:`sysroots <Sysroot>` contain needed headers and libraries for
 generating binaries that run on the target architecture. The target
 sysroot is based on the target root filesystem image that is built by
 the OpenEmbedded build system and uses the same metadata configuration
Signature · 1 line
2.55.0
Reviewed-by on v1 3/5
#6 lore raw

Re: [docs] [PATCH 3/5] sdk-manual/intro.rst: link to sysroot term

Hi Antonin,

Quoted 13 lines · Antonin Godard via lists.yoctoproject.org

Link to the definition of a sysroot (from our glossary) when it is first introduced and later in the "Sysroots" section.

---
  documentation/sdk-manual/intro.rst | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
documentation/sdk-manual/intro.rst +0 -0
index 3e78219fc..53246bd9a 100644

documentation/sdk-manual/intro.rst environment script and contained in variables such as · line 49

Quoted 6 lines
documentation/sdk-manual/intro.rst +1 -1
@@ -45,7 +45,7 @@ environment script and contained in variables such as
  :term:`CC` and
  :term:`LD`. This reduces the space needed
  for the tools. Understand, however, that every target still needs its own
-sysroot because those binaries are target-specific.
+:term:`sysroot` because those binaries are target-specific.
 

We capitalized the Sysroot term, so maybe have it capitalized here as well (I don't think it makes a difference but at least is consistent :) ).

Thanks!
Quentin

#7 lore raw

PATCH 4/5 sdk-manual: rename the section to remove "extensible"

In reply to Antonin Godard

The SDK manual covers both the standard and extensible SDKs yet the title does not imply that, so rename the section to "Yocto Project Application Development and the Software Development Kit (SDK) Manual".

As a consequence, rename the first section title and reword the intro.

---
 documentation/index.rst            | 2 +-
 documentation/sdk-manual/index.rst | 6 +++---
 documentation/sdk-manual/intro.rst | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)
documentation/index.rst +1 -1
index afabb6615..d8603c2f5 100644
@@ -67,7 +67,7 @@ infrastructure.
    Linux Kernel Development Manual <kernel-dev/index>
    Security Manual <security-manual/index>
    Profile and Tracing Manual <profile-manual/index>
-   Application Development and the Extensible SDK (eSDK) <sdk-manual/index>
+   Application Development and SDK Manual <sdk-manual/index>
    Toaster Manual <toaster-manual/index>
    Test Environment Manual <test-manual/index>
    BitBake User Manual <bitbake>
documentation/sdk-manual/index.rst +3 -3
index dc7186b91..477274ab9 100644
@@ -1,8 +1,8 @@
 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
 
-========================================================================================
-Yocto Project Application Development and the Extensible Software Development Kit (eSDK)
-========================================================================================
+===================================================================================
+Yocto Project Application Development and the Software Development Kit (SDK) Manual
+===================================================================================
 
 |
 
documentation/sdk-manual/intro.rst +4 -4
index 53246bd9a..8ccbcfa20 100644
@@ -4,11 +4,11 @@
 Introduction
 ************
 
-eSDK Introduction
-=================
+SDK Introduction
+================
 
-Welcome to the Yocto Project Application Development and the Extensible
-Software Development Kit (eSDK) manual. This manual
+Welcome to the Yocto Project Application Development and the
+Software Development Kit (SDK) manual. This manual
 explains how to use both the Yocto Project extensible and standard
 SDKs to develop applications and images.
 
Signature · 1 line
2.55.0
#8 lore raw

Re: [docs] [PATCH 4/5] sdk-manual: rename the section to remove "extensible"

Hi Antonin,

Quoted 4 lines · Antonin Godard via lists.yoctoproject.org

The SDK manual covers both the standard and extensible SDKs yet the title does not imply that, so rename the section to "Yocto Project Application Development and the Software Development Kit (SDK) Manual".

Well, now it's the opposite :)

Quoted 27 lines

As a consequence, rename the first section title and reword the intro.

---
  documentation/index.rst            | 2 +-
  documentation/sdk-manual/index.rst | 6 +++---
  documentation/sdk-manual/intro.rst | 8 ++++----
  3 files changed, 8 insertions(+), 8 deletions(-)
documentation/index.rst +1 -1
index afabb6615..d8603c2f5 100644
@@ -67,7 +67,7 @@ infrastructure.
     Linux Kernel Development Manual <kernel-dev/index>
     Security Manual <security-manual/index>
     Profile and Tracing Manual <profile-manual/index>
-   Application Development and the Extensible SDK (eSDK) <sdk-manual/index>
+   Application Development and SDK Manual <sdk-manual/index>
     Toaster Manual <toaster-manual/index>
     Test Environment Manual <test-manual/index>
     BitBake User Manual <bitbake>
documentation/sdk-manual/index.rst +0 -0
index dc7186b91..477274ab9 100644

documentation/sdk-manual/index.rst line 6

Quoted 9 lines
documentation/sdk-manual/index.rst +3 -3
@@ -1,8 +1,8 @@
  .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
 
-========================================================================================
-Yocto Project Application Development and the Extensible Software Development Kit (eSDK)
-========================================================================================
+===================================================================================
+Yocto Project Application Development and the Software Development Kit (SDK) Manual
+===================================================================================
 

Maybe "Software Development Kits (SDK/eSDK)"?

documentation/sdk-manual/intro.rst line 7

Quoted 13 lines
documentation/sdk-manual/index.rst +0 -0
  |
 
documentation/sdk-manual/intro.rst +1 -2
index 53246bd9a..8ccbcfa20 100644
@@ -4,11 +4,11 @@
  Introduction
  ************
 
-eSDK Introduction
-=================
+SDK Introduction

SDK/eSDK?

documentation/sdk-manual/intro.rst line 11

Quoted 6 lines
documentation/sdk-manual/intro.rst +3 -2
+================
 
-Welcome to the Yocto Project Application Development and the Extensible
-Software Development Kit (eSDK) manual. This manual
+Welcome to the Yocto Project Application Development and the
+Software Development Kit (SDK) manual. This manual

Ditto.

It's a bit confusing to use SDK as 'either "standard" SDK or eSDK' and also '"standard" SDK'. I don't have anything to suggest though :/

Cheers,
Quentin

#9 lore raw

Re: [docs] [PATCH 4/5] sdk-manual: rename the section to remove "extensible"

Hi,

Quoted 9 lines · Quentin Schulz

Hi Antonin,

Quoted 4 lines · Antonin Godard via lists.yoctoproject.org

The SDK manual covers both the standard and extensible SDKs yet the title does not imply that, so rename the section to "Yocto Project Application Development and the Software Development Kit (SDK) Manual".

Well, now it's the opposite :)

Not sure we understand this the same way, for me "SDK" could me either standard or extensible.

Quoted 29 lines
Quoted 29 lines

As a consequence, rename the first section title and reword the intro.

---
  documentation/index.rst            | 2 +-
  documentation/sdk-manual/index.rst | 6 +++---
  documentation/sdk-manual/intro.rst | 8 ++++----
  3 files changed, 8 insertions(+), 8 deletions(-)
documentation/index.rst +1 -1
index afabb6615..d8603c2f5 100644
@@ -67,7 +67,7 @@ infrastructure.
     Linux Kernel Development Manual <kernel-dev/index>
     Security Manual <security-manual/index>
     Profile and Tracing Manual <profile-manual/index>
-   Application Development and the Extensible SDK (eSDK) <sdk-manual/index>
+   Application Development and SDK Manual <sdk-manual/index>
     Toaster Manual <toaster-manual/index>
     Test Environment Manual <test-manual/index>
     BitBake User Manual <bitbake>
documentation/sdk-manual/index.rst +0 -0
index dc7186b91..477274ab9 100644
@@ -1,8 +1,8 @@
  .. SPDX-License-Identifier: CC-BY-SA-2.0-UK
 
Quoted 9 lines

documentation/sdk-manual/index.rst line 6

Quoted 7 lines
documentation/sdk-manual/index.rst +3 -3
-========================================================================================
-Yocto Project Application Development and the Extensible Software Development Kit (eSDK)
-========================================================================================
+===================================================================================
+Yocto Project Application Development and the Software Development Kit (SDK) Manual
+===================================================================================
 

Maybe "Software Development Kits (SDK/eSDK)"?

I like this too, makes it extra clear, I'll go with:

"Application Development and Software Development Kits (SDK/eSDK) Manual"

Quoted 10 lines
Quoted 10 lines
documentation/sdk-manual/index.rst +0 -0
  |
 
documentation/sdk-manual/intro.rst +0 -0
index 53246bd9a..8ccbcfa20 100644
@@ -4,11 +4,11 @@
  Introduction
  ************
 
Quoted 5 lines

documentation/sdk-manual/intro.rst line 7

Quoted 3 lines
documentation/sdk-manual/intro.rst +1 -2
-eSDK Introduction
-=================
+SDK Introduction

SDK/eSDK?

Or just "Introduction" :)

Quoted 11 lines

documentation/sdk-manual/intro.rst line 11

Quoted 6 lines
documentation/sdk-manual/intro.rst +3 -2
+================
 
-Welcome to the Yocto Project Application Development and the Extensible
-Software Development Kit (eSDK) manual. This manual
+Welcome to the Yocto Project Application Development and the
+Software Development Kit (SDK) manual. This manual

Ditto.

It's a bit confusing to use SDK as 'either "standard" SDK or eSDK' and also '"standard" SDK'. I don't have anything to suggest though :/

With the new title this should fix the issue.

Antonin

#10 lore raw

PATCH 5/5 sdk-manual/intro.rst: detail differences between standard and extensible sysroots

In reply to Antonin Godard

The sysroot in the standard and the extensible SDKs are managed differently. Detail this in the Sysroots section.

[YOCTO #14830]

---
 documentation/sdk-manual/intro.rst | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
documentation/sdk-manual/intro.rst +15 -0
index 8ccbcfa20..2e5f73f0b 100644
@@ -123,6 +123,21 @@ sysroot is based on the target root filesystem image that is built by
 the OpenEmbedded build system and uses the same metadata configuration
 used to build the cross-toolchain.
 
+However, the extensible and standard SDKs sysroot differ in content:
+
+-  The standard SDK sysroot only contains libraries and headers for the packages
+   found in the :term:`TOOLCHAIN_TARGET_TASK` and :term:`TOOLCHAIN_HOST_TASK`
+   definitions, for the target and native sysroots respectively.
+
+   See :doc:`/sdk-manual/appendix-customizing-standard` to learn how to
+   customize it.
+
+-  The extensible SDK sysroot is completely managed by the ``devtool``
+   command-line tool, and its content is the same as the sysroot of the image
+   recipe for which the SDK was built.
+
+   See :doc:`/sdk-manual/appendix-customizing` to learn how to customize it.
+
 The QEMU Emulator
 -----------------
 
Signature · 1 line
2.55.0
#11 lore raw

Re: [docs] [PATCH 5/5] sdk-manual/intro.rst: detail differences between standard and extensible sysroots

Hi Antonin,

Quoted 15 lines · Antonin Godard via lists.yoctoproject.org

The sysroot in the standard and the extensible SDKs are managed differently. Detail this in the Sysroots section.

[YOCTO #14830]

---
  documentation/sdk-manual/intro.rst | 15 +++++++++++++++
  1 file changed, 15 insertions(+)
documentation/sdk-manual/intro.rst +0 -0
index 8ccbcfa20..2e5f73f0b 100644

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 127

Quoted 5 lines
documentation/sdk-manual/intro.rst +2 -0
@@ -123,6 +123,21 @@ sysroot is based on the target root filesystem image that is built by
  the OpenEmbedded build system and uses the same metadata configuration
  used to build the cross-toolchain.
 
+However, the extensible and standard SDKs sysroot differ in content:
+

Why did we stop referring to the Sysroot term (:term:Sysroot)?

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 128

Quoted 1 line
documentation/sdk-manual/intro.rst +1 -0
+-  The standard SDK sysroot only contains libraries and headers for the packages

s/for/of/?

I think we should also mention this brings the libraries and headers of their dependencies (recursively) as well?

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 131

Quoted 3 lines
documentation/sdk-manual/intro.rst +3 -0
+   found in the :term:`TOOLCHAIN_TARGET_TASK` and :term:`TOOLCHAIN_HOST_TASK`
+   definitions, for the target and native sysroots respectively.
+

I know we have a nativesdk OVERRIDE, so is it still a native/target sysroot or should it be named nativesdk too (I've never built an SDK so I don't know).

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 135

Quoted 4 lines
documentation/sdk-manual/intro.rst +4 -0
+   See :doc:`/sdk-manual/appendix-customizing-standard` to learn how to
+   customize it.
+
+-  The extensible SDK sysroot is completely managed by the ``devtool``

Can we maybe point at some docs for devtool? From a quick grep, maybe something in documentation/ref-manual/devtool-reference.rst?

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 138

Quoted 3 lines
documentation/sdk-manual/intro.rst +3 -0
+   command-line tool, and its content is the same as the sysroot of the image
+   recipe for which the SDK was built.
+

I guess we could show how to do this here?

I think it should be something like:

bitbake my-image -c populate_sdk

(or maybe point at https://docs.yoctoproject.org/sdk-manual/appendix-obtain.html#building-an-sdk-installer ?).

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 140

Quoted 2 lines
documentation/sdk-manual/intro.rst +2 -0
+   See :doc:`/sdk-manual/appendix-customizing` to learn how to customize it.
+

Thinking about it, we probably should update documentation/ref-manual/terms.rst for the Sysroot entry in the glossary to explain sysroot for the SDKs (or at the very least point at the section here).

Cheers,
Quentin

#12 lore raw

Re: [docs] [PATCH 5/5] sdk-manual/intro.rst: detail differences between standard and extensible sysroots

Hi,

Quoted 21 lines · Quentin Schulz via lists.yoctoproject.org

Hi Antonin,

Quoted 18 lines · Antonin Godard via lists.yoctoproject.org

The sysroot in the standard and the extensible SDKs are managed differently. Detail this in the Sysroots section.

[YOCTO #14830]

---
  documentation/sdk-manual/intro.rst | 15 +++++++++++++++
  1 file changed, 15 insertions(+)
documentation/sdk-manual/intro.rst +0 -0
index 8ccbcfa20..2e5f73f0b 100644
@@ -123,6 +123,21 @@ sysroot is based on the target root filesystem image that is built by
  the OpenEmbedded build system and uses the same metadata configuration
  used to build the cross-toolchain.
 
Quoted 4 lines

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 127

Quoted 2 lines
documentation/sdk-manual/intro.rst +2 -0
+However, the extensible and standard SDKs sysroot differ in content:
+

Why did we stop referring to the Sysroot term (:term:Sysroot)?

I can keep referring to it, but thought the first reference was enough. Will try to refer to it when I can.

Quoted 6 lines

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 128

Quoted 1 line
documentation/sdk-manual/intro.rst +1 -0
+-  The standard SDK sysroot only contains libraries and headers for the packages

s/for/of/?

I think we should also mention this brings the libraries and headers of their dependencies (recursively) as well?

Correct, I'll add that

Quoted 7 lines

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 131

Quoted 3 lines
documentation/sdk-manual/intro.rst +3 -0
+   found in the :term:`TOOLCHAIN_TARGET_TASK` and :term:`TOOLCHAIN_HOST_TASK`
+   definitions, for the target and native sysroots respectively.
+

I know we have a nativesdk OVERRIDE, so is it still a native/target sysroot or should it be named nativesdk too (I've never built an SDK so I don't know).

So here saying "native sysroot" makes sense if you're only look at the SDK. Under yocto it's true that we have a distinction between native and nativesdk, so maybe replacing "native" by "host" here would avoid the confusion in any case. Will do

Quoted 7 lines

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 135

Quoted 4 lines
documentation/sdk-manual/intro.rst +4 -0
+   See :doc:`/sdk-manual/appendix-customizing-standard` to learn how to
+   customize it.
+
+-  The extensible SDK sysroot is completely managed by the ``devtool``

Can we maybe point at some docs for devtool? From a quick grep, maybe something in documentation/ref-manual/devtool-reference.rst?

Agreed, will add that

Quoted 6 lines

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 138

Quoted 3 lines
documentation/sdk-manual/intro.rst +3 -0
+   command-line tool, and its content is the same as the sysroot of the image
+   recipe for which the SDK was built.
+

I guess we could show how to do this here?

Quoted 7 lines

I think it should be something like:

bitbake my-image -c populate_sdk

(or maybe point at
https://docs.yoctoproject.org/sdk-manual/appendix-obtain.html#building-an-sdk-installer
?).

Since there are already references to appendix-obtain and appendix-customizing I think it's already enough?

Quoted 7 lines

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 140

Quoted 2 lines
documentation/sdk-manual/intro.rst +2 -0
+   See :doc:`/sdk-manual/appendix-customizing` to learn how to customize it.
+

Thinking about it, we probably should update documentation/ref-manual/terms.rst for the Sysroot entry in the glossary to explain sysroot for the SDKs (or at the very least point at the section here).

I'll see what could be done

Thanks!
Antonin

#13 lore raw

Re: [docs] [PATCH 5/5] sdk-manual/intro.rst: detail differences between standard and extensible sysroots

Hi Antonin,

Quoted 24 lines · Antonin Godard

Hi,

Quoted 21 lines · Quentin Schulz via lists.yoctoproject.org

Hi Antonin,

Quoted 18 lines · Antonin Godard via lists.yoctoproject.org

The sysroot in the standard and the extensible SDKs are managed differently. Detail this in the Sysroots section.

[YOCTO #14830]

---
   documentation/sdk-manual/intro.rst | 15 +++++++++++++++
   1 file changed, 15 insertions(+)
documentation/sdk-manual/intro.rst +0 -0
index 8ccbcfa20..2e5f73f0b 100644
@@ -123,6 +123,21 @@ sysroot is based on the target root filesystem image that is built by
   the OpenEmbedded build system and uses the same metadata configuration
   used to build the cross-toolchain.
 
Quoted 8 lines
Quoted 4 lines

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 127

Quoted 2 lines
documentation/sdk-manual/intro.rst +2 -0
+However, the extensible and standard SDKs sysroot differ in content:
+

Why did we stop referring to the Sysroot term (:term:Sysroot)?

I can keep referring to it, but thought the first reference was enough. Will try to refer to it when I can.

I see it like our rule for using :term: for all variables, replace whenever we have a Yocto-specific term, be it in the glossary or not, use :term:/:ref: as much as possible.

Maybe at some point it'll be making it harder to read with all of those links being underlined but maybe we can worry at that point and figure out finer rules later on? What do you think?

Quoted 13 lines
Quoted 6 lines

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 128

Quoted 1 line
documentation/sdk-manual/intro.rst +1 -0
+-  The standard SDK sysroot only contains libraries and headers for the packages

s/for/of/?

I think we should also mention this brings the libraries and headers of their dependencies (recursively) as well?

Correct, I'll add that

Quoted 4 lines
Quoted 3 lines
documentation/sdk-manual/intro.rst +3 -0
+   found in the :term:`TOOLCHAIN_TARGET_TASK` and :term:`TOOLCHAIN_HOST_TASK`
+   definitions, for the target and native sysroots respectively.
+
Quoted 9 lines
Quoted 3 lines

I know we have a nativesdk OVERRIDE, so is it still a native/target sysroot or should it be named nativesdk too (I've never built an SDK so I don't know).

So here saying "native sysroot" makes sense if you're only look at the SDK. Under yocto it's true that we have a distinction between native and nativesdk, so maybe replacing "native" by "host" here would avoid the confusion in any case. Will do

Yeah, we just have to be particularly careful when using "host" and "target" when meson is involved because it has a different meaning than what we have in Yocto.

Quoted 18 lines
Quoted 7 lines

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 135

Quoted 4 lines
documentation/sdk-manual/intro.rst +4 -0
+   See :doc:`/sdk-manual/appendix-customizing-standard` to learn how to
+   customize it.
+
+-  The extensible SDK sysroot is completely managed by the ``devtool``

Can we maybe point at some docs for devtool? From a quick grep, maybe something in documentation/ref-manual/devtool-reference.rst?

Agreed, will add that

Quoted 8 lines

documentation/sdk-manual/intro.rst sysroot is based on the target root filesystem image that is built by · line 138

Quoted 3 lines
documentation/sdk-manual/intro.rst +3 -0
+   command-line tool, and its content is the same as the sysroot of the image
+   recipe for which the SDK was built.
+

I guess we could show how to do this here?

I think it should be something like:

Quoted 9 lines
Quoted 5 lines

bitbake my-image -c populate_sdk

(or maybe point at
https://docs.yoctoproject.org/sdk-manual/appendix-obtain.html#building-an-sdk-installer
?).

Since there are already references to appendix-obtain and appendix-customizing I think it's already enough?

I see you added it in v2, thanks :)

Cheers,
Quentin