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>,
Jon Mason <jon.mason@arm.com>
Subject: [PATCH langdale 4/6] arm/edk2-basetools: Convert edk2 basetools recipes to native only
Date: Tue, 28 Feb 2023 14:41:50 +0000 [thread overview]
Message-ID: <20230228144152.17041-5-gowtham.sureshkumar@arm.com> (raw)
In-Reply-To: <20230228144152.17041-1-gowtham.sureshkumar@arm.com>
From: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>
The BBCLASSEXTEND configuration can generate native sdk and target
recipes as well. The cp command used in do_install will
create host contamination issues for these recipes, so this patch
makes the recipe native only.
Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
...-basetools_202211.bb => edk2-basetools-native_202211.bb} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
rename meta-arm/recipes-devtools/edk2-basetools/{edk2-basetools_202211.bb => edk2-basetools-native_202211.bb} (92%)
diff --git a/meta-arm/recipes-devtools/edk2-basetools/edk2-basetools_202211.bb b/meta-arm/recipes-devtools/edk2-basetools/edk2-basetools-native_202211.bb
similarity index 92%
rename from meta-arm/recipes-devtools/edk2-basetools/edk2-basetools_202211.bb
rename to meta-arm/recipes-devtools/edk2-basetools/edk2-basetools-native_202211.bb
index c80fdae2..6a59c22c 100644
--- a/meta-arm/recipes-devtools/edk2-basetools/edk2-basetools_202211.bb
+++ b/meta-arm/recipes-devtools/edk2-basetools/edk2-basetools-native_202211.bb
@@ -3,7 +3,7 @@
# 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"
+SUMMARY = "EDK2 Base Tools"
LICENSE = "BSD-2-Clause-Patent"
# EDK2
@@ -14,11 +14,11 @@ SRCREV = "fff6d81270b57ee786ea18ad74f43149b9f03494"
S = "${WORKDIR}/git"
+inherit native
+
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
next prev parent reply other threads:[~2023-02-28 14:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-28 14:41 [PATCH langdale 0/6] Add UEFI capsule generation support gowtham.sureshkumar
2023-02-28 14:41 ` [PATCH langdale 1/6] arm/edk2-basetools: Add edk2 base tool native recipe gowtham.sureshkumar
2023-02-28 14:41 ` [PATCH langdale 2/6] arm-bsp/uefi_capsule: Add UEFI capsule generation class gowtham.sureshkumar
2023-02-28 14:41 ` [PATCH langdale 3/6] arm-bsp/corstone1000-image: Generate UEFI capsule for corstone1000 platform gowtham.sureshkumar
2023-02-28 14:41 ` gowtham.sureshkumar [this message]
2023-02-28 14:41 ` [PATCH langdale 5/6] arm-bsp/uefi_capsule: Use json file to pass capsule config gowtham.sureshkumar
2023-02-28 14:41 ` [PATCH langdale 6/6] arm-bsp/uefi_capsule: Move UEFI capsule to IMGDEPLOYDIR gowtham.sureshkumar
2023-03-04 16:59 ` [PATCH langdale 0/6] Add UEFI capsule generation support 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=20230228144152.17041-5-gowtham.sureshkumar@arm.com \
--to=gowtham.sureshkumar@arm.com \
--cc=Ross.Burton@arm.com \
--cc=jon.mason@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).