The instructions to build base tools with Edk2ToolsBuild.py are in "Example: I want to build BaseTools." on the page.

On 12/30/2022 2:24 AM, Rebecca Cran wrote:
Thanks! That was the step I was missing - I was still running edksetup.bat 
instead of Edk2ToolsBuild.py.

--

Rebecca Cran

On 12/30/22 00:07, Sean Brogan wrote:
Rebecca,

I don't see detailed instructions for how to build the base tools in the new wiki pages. But if you use the python /pytool method then a path file is generated and Stuart will set the path correctly.

This file should be used to build the base tools
https://github.com/tianocore/edk2/blob/master/BaseTools/Edk2ToolsBuild.py

You can read a little more about the feature here. https://www.tianocore.org/edk2-pytool-extensions/features/sde/#path_env-descriptors

Thanks
Sean


------------------------------------------------------------------------
*From:* devel@edk2.groups.io <devel@edk2.groups.io> on behalf of Michael D Kinney <michael.d.kin...@intel.com>
*Sent:* Thursday, December 29, 2022 9:22 AM
*To:* devel@edk2.groups.io <devel@edk2.groups.io>; rebe...@bsdio.com <rebe...@bsdio.com>; Kubacki, Michael <michael.kuba...@microsoft.com>
*Cc:* Kinney, Michael D <michael.d.kin...@intel.com>
*Subject:* Re: [edk2-devel] edk2-wiki: "How to build with Stuart" - suggested changes/additions
+Michael Kubacki

> -----Original Message-----
> From: Rebecca Cran <rebe...@bsdio.com>
> Sent: Wednesday, December 28, 2022 7:47 PM
> To: Kinney, Michael D <michael.d.kin...@intel.com>; devel@edk2.groups.io
> Subject: Re: [edk2-devel] edk2-wiki: "How to build with Stuart" - suggested changes/additions
>
> I also found a problem on Windows. It seems that BaseTools\Bin\Win32
> isn't added to %PATH% unless you run edksetup.bat - or, if you're using
> PowerShell, you can run:
>
>
> $Env:PATH =
> "$pwd\BaseTools\Bin\Win32$([System.IO.Path]::PathSeparator)$Env:PATH"
>
>
> --
> Rebecca Cran
>
>
> On 12/24/22 10:37, Rebecca Cran wrote:
> > Mike,
> >
> >
> > I tried following the "How to build with Stuart" document and ran into
> > a some issues on my Ubuntu 20.04 system:
> >
> >
> > First, we now need to use "python3.9" on Ubuntu 20.04 since "python3"
> > is 3.8 which no longer works.
> >
> >
> > Secondly, the loongarch64 gcc download is 930MB - 3.2GB once unpacked.
> > We might want to add something about specifying "-a LOONGARCH64" etc.
> > if you want to build it, or '-a X64,AARCH64' etc. if you want to skip
> > it. I ended up canceling "stuart_update" because I thought it had hung.
> >
> >
> > Lastly, the "stuart_update" command listed doesn't work: it seems you
> > need to specify a TOOL_CHAIN_TAG to have it download anything.
> >
> >








-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#97878): https://edk2.groups.io/g/devel/message/97878
Mute This Topic: https://groups.io/mt/95865064/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to