From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.19624.1670256948795942309 for ; Mon, 05 Dec 2022 08:15:48 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=TrjXLLX7; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.201.8.94]) by linux.microsoft.com (Postfix) with ESMTPSA id 9E0BC20B6C40; Mon, 5 Dec 2022 08:15:47 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9E0BC20B6C40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1670256948; bh=EXlIybSfTPafkk6SEix2UCS2WFRfSPzONOtOXmHZjZc=; h=From:To:Cc:Subject:Date:From; b=TrjXLLX7pYuOzWue4L+jQonn8RYY06i2EStxOHKj8G3I5SOz4VLTTktcbf4ZFUV6A nNHu4LHE6YCq5MYHppMXtIWfGZURZHgTLn8BMtgk6x1qyteW9QMLRHC5M00PDtRFcp YWxl3bX/Hd5ulKRz+5YsgXnD4MWdPrNtSi9i7wz0= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Sean Brogan , Michael D Kinney , Liming Gao , Chris Fernald Subject: [edk2-wiki][PATCH v1 0/4] Add new edk2 build instructions Date: Mon, 5 Dec 2022 11:15:19 -0500 Message-Id: <20221205161523.2627-1-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki This series adds a new set of build instructions and updates prior instructions to point to the new version. Background ---------- Over the life of the project, EDK II has evolved it's build process. A common theme has been reducing the number of manual steps involved and easing environment setup and configuration so developers can more quickly get started writing firmware code. There's currently three general approaches to build: 1. [Containers](How-to-Develop-With-Containers.md) 2. [Stuart](How-to-Build-With-Stuart.md) 3. [build](Getting-Started-with-EDK-II.mediawiki) Prior documentation focuses on directly calling build (3). The new documentation focuses on (1) and (2) but all of the instructions for (3) are left intact. This is especially important given the transition to container based builds on CI and introduction of more CI checks. Changes ------- Adds new documentation that describes containers and how to manually set up a build environment using Stuart. Containers document covers: - Container background - Docker background and installation - Local development with containers - How to manually configure a container - Integration with VS Code - Containers in pipelines Stuart build background covers: - Pre-requisites - Git, Python, compilers, SDKs, etc. - Initial steps - Cloning the repo, set up Python virtual env, etc. - Stuart command explanation and corresponding examples - Common developer scenarios with examples showing what to do - Common questions section with answers In addition, a "top-level" document is added that is main landing page for references to build instructions that briefly describes the three approaches with links to each. This is starting material for these topics, we plan to work with the community to evolve them over time. Cc: Sean Brogan Cc: Michael D Kinney Cc: Liming Gao Cc: Chris Fernald Signed-off-by: Michael Kubacki Chris Fernald (1): Add initial container usage instructions Michael Kubacki (3): Add initial How to Build with Stuart Document Add top-level build instructions file Update existing build instructions Build-Instructions.md | 35 + Build.mediawiki | 33 +- BuildTool-Setup-Guide.mediawiki | 19 +- Common-instructions-for-Unix.mediawiki | 7 +- Common-instructions.mediawiki | 5 + Getting-Started-with-EDK-II.mediawiki | 16 +- How-to-Build-With-Stuart.md | 720 ++++++++++++++++++++ How-to-Develop-With-Containers.md | 120 ++++ UDK2017-How-to-Build.md | 30 +- UDK2018-How-to-Build.md | 34 +- Unix-like-systems.mediawiki | 7 +- Using-EDK-II-with-Native-GCC.mediawiki | 13 +- Windows-systems.mediawiki | 26 +- 13 files changed, 993 insertions(+), 72 deletions(-) create mode 100644 Build-Instructions.md create mode 100644 How-to-Build-With-Stuart.md create mode 100644 How-to-Develop-With-Containers.md --=20 2.28.0.windows.1