Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7B24C48BEB for ; Wed, 14 Feb 2024 09:31:30 +0000 (UTC) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by mx.groups.io with SMTP id smtpd.web10.37845.1707903082196876310 for ; Wed, 14 Feb 2024 01:31:22 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=E4fFVKg/; spf=pass (domain: bootlin.com, ip: 217.70.183.193, mailfrom: michael.opdenacker@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id EC01F240010; Wed, 14 Feb 2024 09:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1707903080; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mE8wtASlKVtC9dSJO2NLWrqyxN/zWSZPrcNZBD7KsLk=; b=E4fFVKg/PZ5Ig5x5sw8Xe9pkgCcBxym0fEx3RO5Ud5PwURxYN4VCxmsRK5GvmXxY1V9Wr2 AU3OV+x9E3TnKGwuZNDHie7JKJn420ZwkHNRvKVM3vsGca9/8v3jp38DYOko835IyH/TnX CSoI5BLdGyl8xR3emFqUIb6A1bsY7/lLXB3sm4bxzG1zm8I13T4FoBf6Cs4U2VaAYxXAFI R4lH80XyzQ6mFyytiG2tw8EduFOnfQtOobwBSRaHeNUe4gTmMetCjJphIJqWeUnR9GTp8a +N+435N99N958GR57LQg6DA6zt5BnZy0Qjz03karbuK3HTgi9z8lyubWBigYHA== Message-ID: <760fc9a0-3160-4226-9797-a66e3ebf6da2@bootlin.com> Date: Wed, 14 Feb 2024 10:31:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: docs@lists.yoctoproject.org Subject: Re: [docs] [PATCH] variables.rst: SDKPATHINSTALL correct installation default path Content-Language: en-US To: "Bezem, Johan (extern)" References: <20240213125218.5480-1-jbezem.extern@arri.de> From: Michael Opdenacker Organization: Bootlin In-Reply-To: <20240213125218.5480-1-jbezem.extern@arri.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-GND-Sasl: michael.opdenacker@bootlin.com List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 14 Feb 2024 09:31:30 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/4836 Hi Johan Thanks for pointing this out! On 2/13/24 at 13:52, Bezem, Johan (extern) wrote: > From: "Bezem, Johan" > > 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. > > Signed-off-by: Johan Bezem > --- > documentation/ref-manual/variables.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst > index 6f7d6ff01..f292b8dad 100644 > --- a/documentation/ref-manual/variables.rst > +++ b/documentation/ref-manual/variables.rst > @@ -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. -- Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com