meta-arm.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: gowtham.sureshkumar@arm.com
To: meta-arm@lists.yoctoproject.org, Ross.Burton@arm.com
Cc: nd@arm.com, Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>
Subject: [PATCH 1/3] arm/edk2-basetools: Add edk2 base tool native recipe
Date: Fri, 27 Jan 2023 19:21:20 +0000	[thread overview]
Message-ID: <20230127192122.19338-2-gowtham.sureshkumar@arm.com> (raw)
In-Reply-To: <20230127192122.19338-1-gowtham.sureshkumar@arm.com>

From: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>

The native recipe installs the UEFI capsule generation tool
along with the other base tools to native sysroot.

Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>
---
 .../edk2-basetools/edk2-basetools_202211.bb   | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-arm/recipes-devtools/edk2-basetools/edk2-basetools_202211.bb

diff --git a/meta-arm/recipes-devtools/edk2-basetools/edk2-basetools_202211.bb b/meta-arm/recipes-devtools/edk2-basetools/edk2-basetools_202211.bb
new file mode 100644
index 00000000..c80fdae2
--- /dev/null
+++ b/meta-arm/recipes-devtools/edk2-basetools/edk2-basetools_202211.bb
@@ -0,0 +1,24 @@
+# Install EDK2 Base Tools in native sysroot. Currently the BaseTools are not
+# built, they are just copied to native sysroot. This is sufficient for
+# generating UEFI capsules as it only depends on some python scripts. Other
+# tools need to be built first before adding to sysroot.
+
+DESCRIPTION = "EDK2 Base Tools"
+LICENSE = "BSD-2-Clause-Patent"
+
+# EDK2
+SRC_URI = "git://github.com/tianocore/edk2.git;branch=master;protocol=https"
+LIC_FILES_CHKSUM = "file://License.txt;md5=2b415520383f7964e96700ae12b4570a"
+
+SRCREV = "fff6d81270b57ee786ea18ad74f43149b9f03494"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS:${PN} += "python3-core"
+
+do_install () {
+    mkdir -p ${D}${bindir}/edk2-BaseTools
+    cp -r ${WORKDIR}/git/BaseTools/* ${D}${bindir}/edk2-BaseTools/
+}
+
+BBCLASSEXTEND = "native"
-- 
2.17.1



  reply	other threads:[~2023-01-27 19:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-27 19:21 [PATCH 0/3] Add UEFI capsule generation support gowtham.sureshkumar
2023-01-27 19:21 ` gowtham.sureshkumar [this message]
2023-01-27 21:27   ` [meta-arm] [PATCH 1/3] arm/edk2-basetools: Add edk2 base tool native recipe Denys Dmytriyenko
2023-02-10  0:24     ` Gowtham Suresh Kumar
2023-02-10 20:46       ` Denys Dmytriyenko
2023-01-27 19:21 ` [PATCH 2/3] arm-bsp/uefi_capsule: Add UEFI capsule generation class gowtham.sureshkumar
2023-02-01  9:42   ` [meta-arm] " Ilias Apalodimas
2023-01-27 19:21 ` [PATCH 3/3] arm-bsp/corstone1000-image: Generate UEFI capsule for corstone1000 platform gowtham.sureshkumar
2023-02-12 21:29 ` [PATCH 0/3] Add UEFI capsule generation support Jon Mason
2023-02-17  4:30 ` Jon Mason
2023-03-04 16:59 ` Jon Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230127192122.19338-2-gowtham.sureshkumar@arm.com \
    --to=gowtham.sureshkumar@arm.com \
    --cc=Ross.Burton@arm.com \
    --cc=meta-arm@lists.yoctoproject.org \
    --cc=nd@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).