diff mbox series

[1/2] arm/edk2-basetools: Convert edk2 basetools recipes to native only

Message ID 20230215104236.24484-2-gowtham.sureshkumar@arm.com
State New
Headers show
Series Update UEFI capsule generation to use json config file | expand

Commit Message

Gowtham Suresh Kumar Feb. 15, 2023, 10:42 a.m. UTC
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>
---
 ...-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 mbox series

Patch

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"