From ae0dd2a58cf612b30d7d18d86bfdb0930432f44f Mon Sep 17 00:00:00 2001 From: Gowtham Suresh Kumar Date: Wed, 15 Feb 2023 10:42:35 +0000 Subject: [PATCH] arm/edk2-basetools: Convert edk2 basetools recipes to native only 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 Signed-off-by: Jon Mason --- ...-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"