[meta-arm,1/6] arm/edk2-firmware: no need to inherit python3native

Submitted by Ross Burton on Oct. 20, 2020, 4 p.m. | Patch ID: 177357

Details

Message ID 20201020160049.473237-1-ross.burton@arm.com
State New
Headers show

Commit Message

Ross Burton Oct. 20, 2020, 4 p.m.
There are no python3-foo-native dependencies, so just set PYTHON to the host
python3 (which is in HOSTTOOLS) and remove the python3native inherit.

Change-Id: I1234d04df380a71a1e881328157e1d154f3cb49c
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-arm/recipes-bsp/uefi/edk2-firmware_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta-arm/recipes-bsp/uefi/edk2-firmware_git.bb b/meta-arm/recipes-bsp/uefi/edk2-firmware_git.bb
index a343e07..ee8f523 100644
--- a/meta-arm/recipes-bsp/uefi/edk2-firmware_git.bb
+++ b/meta-arm/recipes-bsp/uefi/edk2-firmware_git.bb
@@ -29,7 +29,6 @@  EDK2_BUILD_MODE = "${@bb.utils.contains('EDK2_BUILD_RELEASE', '1', 'RELEASE', 'D
 
 DEPENDS += "util-linux-native iasl-native"
 
-inherit python3native
 inherit deploy
 
 B = "${WORKDIR}/build"
@@ -48,7 +47,7 @@  export GCC5_AARCH64_PREFIX = "${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}"
 export PACKAGES_PATH       = "${S}/edk2:${S}/edk2/edk2-platforms"
 export WORKSPACE           = "${S}/edk2"
 export EDK_TOOLS_PATH      = "${WORKSPACE}/BaseTools"
-export PYTHON_COMMAND      = "${PYTHON}"
+export PYTHON_COMMAND      = "python3"
 export CONF_PATH           = "${WORKSPACE}/Conf"
 
 export BTOOLS_PATH = "${EDK_TOOLS_PATH}/BinWrappers/PosixLike"