mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
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@intel.com> Cc: Patrick Ohly <patrick.ohly@intel.com> (From OE-Core rev: 435d1f8ffe9df86367316d25cb6def2ea2041642) Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b7f92324cc
commit
29fb47861f
@@ -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 () {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user