Skip to contentSkip to conversation

variables.rst: SDKPATHINSTALL correct installation default path

PATCH In review Johan Bezem 2 participants 3 messages Feb 13, 2024 – Feb 23, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 variables.rst: SDKPATHINSTALL correct installation default path

From: "Bezem, Johan" <[email protected]>

The SDKPATH variable seems mistakenly identified as the default path where the SDK will be installed by the generated installation script, unless option '-d' or a manual input overrides this default.

From what I understood from the various sources, the intended variable is SDKPATHINSTALL.

I have tried overriding both SDKPATH and SDKPATHINSTALL (separately), and only overriding the latter had the intended effect and was successful.

---
 documentation/ref-manual/variables.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/variables.rst +1 -1
index 6f7d6ff01..f292b8dad 100644
@@ -7611,7 +7611,7 @@ system and gives an overview of their function and contents.
          variable in your distribution configuration file. If you do, the
          configuration will not take effect.
 
-   :term:`SDKPATH`
+   :term:`SDKPATHINSTALL`
       Defines the path offered to the user for installation of the SDK that
       is generated by the OpenEmbedded build system. The path appears as
       the default location for installing the SDK when you run the SDK's
Signature · 1 line
2.30.2
#1 lore raw

Hi Johan

Thanks for pointing this out!

Quoted 24 lines · Johan (extern)

From: "Bezem, Johan" <[email protected]>

The SDKPATH variable seems mistakenly identified as the default path where the SDK will be installed by the generated installation script, unless option '-d' or a manual input overrides this default.

From what I understood from the various sources, the intended
variable is SDKPATHINSTALL.

I have tried overriding both SDKPATH and SDKPATHINSTALL (separately), and only overriding the latter had the intended effect and was successful.

---
  documentation/ref-manual/variables.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/variables.rst +0 -0
index 6f7d6ff01..f292b8dad 100644

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 7617

Quoted 8 lines
documentation/ref-manual/variables.rst +1 -1
@@ -7611,7 +7611,7 @@ system and gives an overview of their function and contents.
           variable in your distribution configuration file. If you do, the
           configuration will not take effect.
 
-   :term:`SDKPATH`
+   :term:`SDKPATHINSTALL`
        Defines the path offered to the user for installation of the SDK that
        is generated by the OpenEmbedded build system. The path appears as
        the default location for installing the SDK when you run the SDK's

I believe we should also keep SDKPATH as it's still used in some recipes in Poky. Could you describe it's current usage too?

Another thing is that you should also update documentation/overview-manual/concepts.rst which refers to SDKPATH, and the description of SDKTARGETSYSROOT too.

You could have caught this by running "make html":
.../yocto-docs/documentation/overview-manual/concepts.rst:1378: WARNING: term not in glossary: 'SDKPATH' .../yocto-docs/documentation/ref-manual/variables.rst:7617: WARNING: term not in glossary: 'SDKPATH'

Could you send an update?
Thanks again
Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

Hi Yohan

Quoted 41 lines · Michael Opdenacker

Hi Johan

Thanks for pointing this out!

Quoted 24 lines · Johan (extern)

From: "Bezem, Johan" <[email protected]>

The SDKPATH variable seems mistakenly identified as the default path where the SDK will be installed by the generated installation script, unless option '-d' or a manual input overrides this default.

 From what I understood from the various sources, the intended variable is SDKPATHINSTALL.

I have tried overriding both SDKPATH and SDKPATHINSTALL (separately), and only overriding the latter had the intended effect and was successful.

---
  documentation/ref-manual/variables.rst | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
documentation/ref-manual/variables.rst +0 -0
index 6f7d6ff01..f292b8dad 100644
@@ -7611,7 +7611,7 @@ system and gives an overview of their function 
Quoted 8 lines

and contents.
           variable in your distribution configuration file. If you do, the configuration will not take effect.
  -   :term:SDKPATH
+   :term:SDKPATHINSTALL
        Defines the path offered to the user for installation of the SDK that is generated by the OpenEmbedded build system. The path appears as the default location for installing the SDK when you run the SDK's

I believe we should also keep SDKPATH as it's still used in some recipes in Poky. Could you describe it's current usage too?

Quoted 7 lines

Another thing is that you should also update documentation/overview-manual/concepts.rst which refers to SDKPATH, and the description of SDKTARGETSYSROOT too.

You could have caught this by running "make html":
.../yocto-docs/documentation/overview-manual/concepts.rst:1378: WARNING: term not in glossary: 'SDKPATH' .../yocto-docs/documentation/ref-manual/variables.rst:7617: WARNING: term not in glossary: 'SDKPATH'

Could you send an update?

Do you need help doing this? I'll be happy to help if you don't have time right now. Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com