[oe-commits] [openembedded-core] 09/11: ovmf: Use HOSTTOOLS' python3

git at git.openembedded.org git at git.openembedded.org
Thu Aug 8 09:27:21 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 435d1f8ffe9df86367316d25cb6def2ea2041642
Author: Ricardo Neri <ricardo.neri-calderon at linux.intel.com>
AuthorDate: Tue Jul 30 17:20:54 2019 -0400

    ovmf: Use HOSTTOOLS' python3
    
    Use the variable PYTHON_COMMAND to let know EDK2 base tools that python3
    in the host shall be used.
    
    In order build successfully, the host must have installed the
    python3-distutils package or equivalent.
    
    Based on an original patch by Ross Burton.
    
    Cc: Ross Burton <ross.burton at intel.com>
    Cc: Patrick Ohly <patrick.ohly at intel.com>
    Signed-off-by: Ricardo Neri <ricardo.neri-calderon at linux.intel.com>
---
 meta/recipes-core/ovmf/ovmf_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb
index c66b751..834ee32 100644
--- a/meta/recipes-core/ovmf/ovmf_git.bb
+++ b/meta/recipes-core/ovmf/ovmf_git.bb
@@ -46,6 +46,8 @@ COMPATIBLE_HOST='(i.86|x86_64).*'
 OVMF_SECURE_BOOT_EXTRA_FLAGS ??= ""
 OVMF_SECURE_BOOT_FLAGS = "-DSECURE_BOOT_ENABLE=TRUE ${OVMF_SECURE_BOOT_EXTRA_FLAGS}"
 
+export PYTHON_COMMAND = "${HOSTTOOLS_DIR}/python3"
+
 do_patch[postfuncs] += "fix_basetools_location"
 fix_basetools_location () {
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list