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 2BBD4C54E49 for ; Fri, 23 Feb 2024 10:20:06 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx.groups.io with SMTP id smtpd.web11.7732.1708683598254943794 for ; Fri, 23 Feb 2024 02:19:58 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=WHSxoA0S; spf=pass (domain: bootlin.com, ip: 217.70.183.197, mailfrom: michael.opdenacker@bootlin.com) Received: by mail.gandi.net (Postfix) with ESMTPSA id 1D1121C0012; Fri, 23 Feb 2024 10:19:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708683596; 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=4IOlGbMaOEblXXCkrs6PtyekGH8/dve5cugahf4wup0=; b=WHSxoA0Sl+Gf2nCzEw6dYshc7xjMtlo76Ii8bbDgxbanqseD/WfWaEt7WtURxWKJDI90Wd miKFPiCHpcncriqIIJfQUXadbpktEbxLuGZjrXGsiaG2KcFg5aze2LUwlsCkxliT2qHx3Y QspnzZmSaLw9LBJOfo1UAjBerJczYTstXZ1sG8YQRAk2LsueEAaAtxWdHXHq89A9gaO6+n C9nALiwo+c+/GgjnhVyuo/sc10WVWSaquMSQ2hVehZBEeMdrREcjBJRS6bUw83O0Kes3Pl vxWcKr0aYbn1Ef9kIAUdPwlBLXi8R1o0puOjlfI+X8Gzp7M7z7HSXL5xegebLA== Message-ID: <2116c77c-1328-4eb0-83bf-3114fc074928@bootlin.com> Date: Fri, 23 Feb 2024 11:19:55 +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 From: Michael Opdenacker To: "Bezem, Johan (extern)" References: <20240213125218.5480-1-jbezem.extern@arri.de> <760fc9a0-3160-4226-9797-a66e3ebf6da2@bootlin.com> Organization: Bootlin In-Reply-To: <760fc9a0-3160-4226-9797-a66e3ebf6da2@bootlin.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 ; Fri, 23 Feb 2024 10:20:06 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/4861 Hi Yohan On 2/14/24 at 10:31, Michael Opdenacker wrote: > 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? Do you need help doing this? I'll be happy to help if you don't have time right now. Cheers Michael. -- Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com