[OE-core] [PATCH] grub: build with python 3

Ross Burton ross.burton at intel.com
Thu Jul 11 23:54:27 UTC 2019


As part of the mission to remove the use of Python 2, explicitly use Python 3
when building grub.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-bsp/grub/grub2.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc
index 20877e77355..c5ff10e5986 100644
--- a/meta/recipes-bsp/grub/grub2.inc
+++ b/meta/recipes-bsp/grub/grub2.inc
@@ -60,6 +60,8 @@ BUILD_CFLAGS = ""
 BUILD_CXXFLAGS = ""
 BUILD_LDFLAGS = ""
 
+export PYTHON = "python3"
+
 CFLAGS_append = " -Wno-error"
 
 do_configure_prepend() {
-- 
2.20.1



More information about the Openembedded-core mailing list